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. can any one plz send me the message passing codin
View Tutorial          By: sowmya at 2010-08-02 04:57:22

2. How can i add text under this all images
View Tutorial          By: jana at 2013-07-09 04:32:38

3. i have a program in which we have to find the summ
View Tutorial          By: Navjyot at 2013-01-28 10:38:55

4. Nice explaination of constructor and destructor. B
View Tutorial          By: Anon at 2009-03-01 03:50:06

5. After coming to second page again I want to go to
View Tutorial          By: Bhagi at 2012-09-23 06:25:54

6. Imports Excel = Microsoft.Office.Interop.Excel

View Tutorial          By: Nilesh at 2014-12-01 13:45:25

7. plz xplian robust in a simple way and what is dyna
View Tutorial          By: tintu at 2011-12-01 08:21:25

8. Hi! I'm working on Ubuntu 10.04

At

View Tutorial          By: Rushabh at 2011-01-12 06:22:43

9. nice one
View Tutorial          By: priyaaaaaaaaaaaaaaa at 2011-06-21 08:04:39

10. Check a cool file reader
View Tutorial          By: John at 2010-09-13 01:38:21