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



Ask a Question

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. i am getting this error how to erase it please tel
View Tutorial          By: laxmibvsn at 2012-10-16 15:45:05

2. In the block form of SMTP.start, is there a way to
View Tutorial          By: Roshan at 2012-02-02 11:48:53

3. this works
-------------------------------

View Tutorial          By: Aeron at 2013-10-20 04:50:51

4. it provides manna in the studies of java to me
View Tutorial          By: aravinden at 2011-12-27 08:18:18

5. Best Explanation & gud example by finnaz......
View Tutorial          By: Umair Shuja at 2012-11-28 10:53:35

6. Hello Everyone
I used this program but i'm

View Tutorial          By: Yougeshwar Khatri at 2011-09-16 08:50:47

7. Hi,
Very Nice explanation ,I tried both mem

View Tutorial          By: Harsh Verma at 2013-01-30 13:43:05

8. Hello, Can you please send me the complete code to
View Tutorial          By: koksingh at 2008-01-15 00:22:40

9. package com.anand;

import java.sql.

View Tutorial          By: Anand at 2012-11-12 00:00:07

10. Can any one help me writing the code...
In

View Tutorial          By: Prajwal at 2011-11-08 10:19:58