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



Related Tutorials

Java program to get location meta data from an image

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

Archived Comments

1. good
View Tutorial          By: dock at 2013-06-07 15:18:49

2. Pl send some sample program for speech to text wit
View Tutorial          By: gokul at 2012-09-27 10:28:19

3. HELP! HELP! HELP!
i got an time out at step

View Tutorial          By: sumit at 2009-04-03 20:19:51

4. 0
View Tutorial          By: zareen at 2011-08-20 08:27:28

5. your web site is very useful for students
View Tutorial          By: aathithi at 2008-06-22 22:41:07

6. #include<iostream>
#include<conio.

View Tutorial          By: Zohaib Farooq at 2011-05-23 12:47:54

7. i am try this codeing in vb . i am using nokia n73
View Tutorial          By: kanyaraj at 2010-02-09 19:10:10

8. Thanks for the tutorial. I want to create a catalo
View Tutorial          By: Lue at 2012-07-09 07:00:08

9. sir i want how to write record into file and readi
View Tutorial          By: himasekhar at 2013-05-25 10:38:31

10. hello,
i have running my bca IIIrd Year &a

View Tutorial          By: Narpat Dewasi at 2013-07-05 10:49:47