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. It's so crazy to the adventures of J2ME side and w
View Tutorial          By: jaikarthik at 2009-01-18 23:42:42

2. hi
thanks for your code i wanted to know w

View Tutorial          By: anshul at 2009-10-28 15:10:10

3. good one
View Tutorial          By: thyagesh at 2011-12-06 05:06:27

4. nice one
View Tutorial          By: dhusor at 2012-05-08 17:38:50

5. Good and Simple Example For Beginners Like me.Than
View Tutorial          By: Lasantha Bandara at 2010-06-29 19:21:48

6. Typecasting proved very much helpful to me...esp.
View Tutorial          By: itan at 2010-05-04 01:30:24

7. hi i want to know
can i sent picture of si

View Tutorial          By: Nauman Khalid at 2011-12-10 11:50:39

8. thanks buddy is's very nice and useful example
View Tutorial          By: mayur at 2012-11-05 05:00:11

9. i'm doing project on hotel management...
an

View Tutorial          By: prashant patil at 2012-08-19 05:16:20

10. Hi Avipriya Sharma follow this link for my multi t
View Tutorial          By: Issac at 2011-06-27 00:17:21