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



Related Tutorials

Java program to get location meta data from an image

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

Archived Comments

1. I need one help how to update particular column da
View Tutorial          By: santhosh.s at 2015-01-22 15:09:33

2. I've been struggling with this for a while now. Th
View Tutorial          By: Deb at 2010-10-14 11:36:33

3. Many Thanks.
View Tutorial          By: Kallol Samaddar at 2013-07-11 18:26:06

4. the way of explanation is really good. there is a
View Tutorial          By: Arul at 2009-01-09 00:13:46

5. hi...
how can i get this 5 files...of java.

View Tutorial          By: loveu at 2010-09-19 12:04:10

6. I need how to connect with database connection in
View Tutorial          By: BenGunn at 2010-01-12 03:33:44

7. i want java code for day planner please send me on
View Tutorial          By: sumaiya pathan at 2010-10-15 21:34:23

8. this text is overlapping the existing text what if
View Tutorial          By: Alda at 2015-10-02 18:22:22

9. send me the code with complete set of java package
View Tutorial          By: meena at 2011-06-15 03:12:17

10. Many thanks for your nice explanation.
View Tutorial          By: Zahra at 2012-04-10 06:03:56