Comment on Tutorial - String Array in Java By Dorris



Comment Added by : kartikeya

Comment Added at : 2012-12-22 10:19:41

Comment on Tutorial : String Array in Java By Dorris
Dear sir,
Can you provide me for a simple program in which three strings are accepted-a main string, a find string and a replace string. The program should find all the substrings in the main string similar to find string and put the replace string instead of it. Also it must printout the number of times the find string appears in the main string.

Thank You.


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. thanks excellent explanation!!!!!!!!
View Tutorial          By: divya at 2012-01-01 17:37:32

2. Re: Inner Classes
Aside from allowing acces

View Tutorial          By: lee smith at 2010-01-17 10:59:23

3. Thanks for the above code. I am not sure whether t
View Tutorial          By: Koolkabin at 2010-08-20 01:11:27

4. Doesn't the getline() on line 14 read "once u
View Tutorial          By: poo at 2011-02-22 00:32:44

5. input can be taken simly with Console class

View Tutorial          By: Dinesh at 2012-06-29 11:18:23

6. i like this a lot
View Tutorial          By: raj at 2011-05-06 06:15:36

7. need to be explained more
View Tutorial          By: parul at 2011-06-30 08:34:29

8. You should show how to implement a custom sorting
View Tutorial          By: AngleWyrm at 2012-12-13 19:35:30

9. Very Nice and Concrete Explanation ..
View Tutorial          By: Parvesh at 2009-09-18 11:11:00

10. I've been satisfied with your tutorial site. Since
View Tutorial          By: Mark Harold F. Manguino at 2008-08-06 05:00:54