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. Hello MR, I was running sms package to send sms, a
View Tutorial          By: Ronized at 2008-12-29 16:53:33

2. Thanks that made this concept of memory very cleat
View Tutorial          By: Tarak at 2009-06-24 07:58:04

3. plz show me my answers
View Tutorial          By: Debnita Saha at 2010-05-01 05:15:16

4. Hey this code is very helpful......can you please
View Tutorial          By: Preetam Purbia at 2010-03-01 04:25:47

5. very simple to understand
View Tutorial          By: chermaraja at 2010-05-26 00:00:05

6. A very nice example for abstract classes, simple b
View Tutorial          By: Rahul at 2010-06-16 20:45:24

7. i got error like this java.lang.RuntimeException:
View Tutorial          By: Saliya at 2014-08-22 10:12:16

8. i avinash can i know how ur problem is resolved ,i
View Tutorial          By: santosh at 2011-12-06 10:35:42

9. Hi,
Nice example....it's a good one to impl

View Tutorial          By: Anish at 2009-07-08 00:21:16

10. hi, IF ANY ONE REALLY INTRESTED TO RUN THIS PROGRA
View Tutorial          By: sunil kumar sahu at 2010-10-09 11:50:56