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. 0
View Tutorial          By: zareen at 2011-08-20 08:27:28

2. The result shown in the left shift is wrong...
View Tutorial          By: krishnalal.K.K at 2008-05-21 03:05:07

3. can anyone send me how 2 sms from java code......<
View Tutorial          By: ramesh at 2009-02-07 04:26:06

4. good
View Tutorial          By: jonas at 2013-04-05 12:00:10

5. very good explanation for Include Action in struts
View Tutorial          By: VIshwanath at 2011-03-21 06:00:22

6. thank u sir ,this helped a lot
************

View Tutorial          By: yugandharr at 2012-09-11 15:47:19

7. hi i have doubt in strlen()........pls explain how
View Tutorial          By: ranjith at 2010-04-18 21:50:17

8. im trying to just store the data taken from editex
View Tutorial          By: praveen at 2014-08-05 15:19:51

9. Question: if clone is a protected method then why
View Tutorial          By: siva kiran at 2011-01-20 11:40:23

10. C++ is more than nyc & fun, de most interestin
View Tutorial          By: Themba at 2010-09-12 09:11:04