Comment on Tutorial - indexOf( ) and lastIndexOf( ) in Java By Hong



Comment Added by : need Help

Comment Added at : 2009-11-12 08:40:31

Comment on Tutorial : indexOf( ) and lastIndexOf( ) in Java By Hong
so what about, if i need to remove these letters for example

xR-MxR-MHelloxR-M - String to remove R-M
Hello

and remove all the R-M's and Hellos

is there a way that this could be demonstrated using indexOf()?

Thanks


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. hi...i want a code to send sms from GSM to PC.
View Tutorial          By: siri at 2011-12-19 07:39:02

2. Question, how much is Struts 2 used today? As a fr
View Tutorial          By: Marco at 2012-10-04 06:34:43

3. thank u.actually i want little more...
View Tutorial          By: burhan at 2010-07-13 03:46:01

4. its nice explanation.
View Tutorial          By: rahul ahuja at 2010-06-13 22:33:35

5. exellent, thks!!!
View Tutorial          By: Eduardo at 2010-01-29 19:20:15

6. I deploy a project in apache tomcat and backend to
View Tutorial          By: satish at 2010-08-04 05:31:59

7. can i have a piece of program so that i can improv
View Tutorial          By: miniboss at 2010-11-12 06:09:41

8. Thanks. What datatype can we give to a variable St
View Tutorial          By: Bafokeng Lebesa at 2012-11-27 12:35:40

9. S.N. Constructor & Description
1 String

View Tutorial          By: Jameesh at 2015-03-05 07:09:38

10. i'm interest in j2me so i have to learn about j2me
View Tutorial          By: cha at 2013-10-14 13:17:22