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. Yesterday afternoon, I tried a lot of different su
View Tutorial          By: Leo at 2011-07-26 04:19:15

2. Thank you
View Tutorial          By: dara at 2009-12-19 02:46:52

3. Sir!
I want the source code for receiv

View Tutorial          By: Anupam Shukla at 2010-04-30 00:09:25

4. Thank u it helps me alot.....
View Tutorial          By: Ramya at 2012-02-22 10:16:14

5. Wow NIce
View Tutorial          By: Zahid ALi at 2015-01-16 22:35:45

6. hey thats a superb way of explaining in plain term
View Tutorial          By: Agastya at 2011-05-08 03:11:53

7. everyone should appreciate this
View Tutorial          By: Udara at 2010-10-18 01:15:09

8. Plz catch the exception to make the program comple
View Tutorial          By: Naman at 2013-04-19 06:01:45

9. it is very understandable thanku very much......
View Tutorial          By: manogna at 2010-10-13 02:24:06

10. This was very helpful! Thanks!!!
View Tutorial          By: Andreas Clausen at 2009-09-03 15:07:14