Comment on Tutorial - Using substring( ) in Java By Fazal



Comment Added by : Eric

Comment Added at : 2009-04-26 19:20:26

Comment on Tutorial : Using substring( ) in Java By Fazal
Could you somehow use the substring method to parse text? For example, I have the string:
"Name: Will Smith School: West Project: Earth Day Name: Mary Joe School: Central Project: Volcano"

I would like to parse the text by topics so it appears as such:
"Name: Will Smith
School: West
Project: Earth Day
Name: Mary Joe
School: Central
Project: Volcano"


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. Hallo.

And if the certificate is se

View Tutorial          By: Mario at 2009-11-11 08:42:46

2. If I want to read input from A PDF what should I d
View Tutorial          By: thiru at 2015-08-12 10:57:51

3. This article is help full for beginners.now i will
View Tutorial          By: shobha B at 2012-08-31 06:23:31

4. Handling several submissions can be a lot simple t
View Tutorial          By: Blaze Blankenship at 2012-12-05 13:04:12

5. we can write an abstract class without any abstrac
View Tutorial          By: keerthi at 2013-08-20 16:31:38

6. its really a good post... very informative..
View Tutorial          By: javagava at 2011-12-13 19:49:08

7. can i have a piece of program so that i can improv
View Tutorial          By: miniboss at 2010-11-12 06:09:41

8. Thanks. Your post was clear and worked perfectly a
View Tutorial          By: Suma at 2009-03-05 09:40:08

9. I didnt get the use of public Sting toString().. I
View Tutorial          By: Pradesh at 2010-05-06 05:38:23

10. Good start for me. At least I now know what i am s
View Tutorial          By: eoaddai at 2011-12-23 20:53:35