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. How to print lee alone for the eg above........I n
View Tutorial          By: sa at 2013-04-01 07:43:03

2. A precise one. This is how I would like to see exa
View Tutorial          By: Guna at 2010-10-14 03:24:34

3. i want source code of Send SMS on Mobile by Net.
View Tutorial          By: Ankit Patel at 2011-07-05 08:43:14

4. This is all the code that you need for creating dr
View Tutorial          By: subduedjoy at 2012-03-20 20:52:18

5. i'm a student and new to all these HTML and JSP.
View Tutorial          By: sillee at 2009-08-13 03:22:14

6. the code works fine,i also tried the write code.th
View Tutorial          By: Joy at 2013-11-25 05:24:23

7. How make comunication between client and server, s
View Tutorial          By: alex at 2009-01-30 07:12:49

8. crystal clear explanation
View Tutorial          By: digant at 2009-12-08 09:10:06

9. Very nice tutorial. Hi Rintu for attachment u can
View Tutorial          By: ras at 2013-03-14 17:19:47

10. Hello,
I want to send an mulitple sms using

View Tutorial          By: Fionna at 2009-07-10 01:02:11