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. finally an understandable example
View Tutorial          By: sdf at 2012-11-26 21:44:34

2. How can I store a file in device internal memory a
View Tutorial          By: Fabio at 2014-11-20 11:25:41

3. Hi Sir...
sir i am working on Speech to Tex

View Tutorial          By: Sadaquat at 2012-08-19 07:51:28

4. @Srini

Hi Srini, I can answer your

View Tutorial          By: Sudev Wilson at 2015-04-08 12:23:33

5. I want to using swith with string...
How to

View Tutorial          By: anuj at 2015-03-04 18:22:29

6. Dear All , I have query reg hibernate with WAS /WP
View Tutorial          By: pmr at 2011-07-18 02:58:08

7. dear! can you show me about "How to start as
View Tutorial          By: vatha chhean at 2011-05-31 07:34:42

8. I wont to know about every thing of java
View Tutorial          By: susantha at 2009-10-11 09:35:40

9. Imports System.Web
Imports System.Net.Mail<

View Tutorial          By: Naresh at 2011-05-24 07:27:12

10. It's very useful..I like u
View Tutorial          By: jeeva at 2008-04-03 23:58:41