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

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

Java program to check if user input is an even number

Archived Comments

1. i want to say only one thing

great

View Tutorial          By: ashish at 2009-06-09 21:36:45

2. hi...i want a code to send sms from GSM to PC.
View Tutorial          By: siri at 2011-12-19 07:39:02

3. Best example to explain Inheritance. thankyou for
View Tutorial          By: Suresh Lilhare at 2010-05-14 09:10:27

4. site is good.explaining the concept with nice pro
View Tutorial          By: AJOY KUMAR MANDAL at 2012-11-22 01:57:26

5. i need full program for connect oracle to struts l
View Tutorial          By: Munaver Basha at 2010-09-30 01:28:10

6. i should say, a lot of thank you because of this s
View Tutorial          By: merven at 2009-03-17 09:45:39

7. please provide web.xml for this application.
View Tutorial          By: vandana at 2010-03-10 02:08:05

8. hi can u send me the complete working code for sen
View Tutorial          By: Brajesh at 2011-04-21 03:07:40

9. It is very useful.thank you so much.
View Tutorial          By: Pratiksha ijagaj at 2010-11-27 07:03:52

10. unzip jquery-ui-1.10.3.custom

and c

View Tutorial          By: ajmal at 2013-06-06 10:44:55