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. thanks becase i am very confuse what is work how t
View Tutorial          By: arvind at 2011-01-09 14:41:42

2. in my case the culprit is xdebuger dll version 2.0
View Tutorial          By: putra at 2009-12-18 00:39:42

3. very useful
View Tutorial          By: Ruchika at 2011-07-10 05:15:05

4. This website is great for the students who want to
View Tutorial          By: Parth Patalia at 2009-11-19 21:09:24

5. a bit extra information on robust
View Tutorial          By: mahesh at 2010-02-02 12:05:37

6. thanks for the help! your tutorials really help us
View Tutorial          By: Mon Bernie Gucor at 2009-02-20 19:57:35

7. sir ji,
i want do learn for loop in java an

View Tutorial          By: Prabhakar at 2009-11-06 00:48:53

8. this is not good example we want better...
View Tutorial          By: sabari nathan.p at 2011-06-15 03:27:18

9. I want full information about Java & Data Stru
View Tutorial          By: s.karthick at 2015-05-07 05:32:24

10. My teacher doesnt teach me right!
View Tutorial          By: Anon at 2009-02-20 07:16:08