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. super explaination
View Tutorial          By: santhish at 2011-07-06 05:00:54

2. Thank for your clear explanation
View Tutorial          By: htnga at 2009-04-05 18:43:25

3. very useful article. every jsp resource will get g
View Tutorial          By: pechirani at 2011-06-29 04:00:49

4. hello sir , i just implement your code and modify
View Tutorial          By: tushar at 2012-01-31 05:21:37

5. Everything is running.... But it doesn't send....<
View Tutorial          By: uu at 2009-04-09 18:10:13

6. i would like to ask that what is the history of a
View Tutorial          By: Ankit at 2011-02-07 09:56:21

7. This example is very good and useful. I request yo
View Tutorial          By: Ambarisha Malladi at 2010-02-10 22:50:38

8. Thanks a lot for this great post.
View Tutorial          By: Ram Para at 2012-03-23 17:07:09

9. hi,
my problem is.......
i use vb.ne

View Tutorial          By: Anirban at 2009-10-25 10:15:13

10. thanx it was really helpful
View Tutorial          By: Vidisha at 2010-07-09 06:21:32