Comment on Tutorial - Using substring( ) in Java By Fazal



Comment Added by : Guy

Comment Added at : 2010-09-27 17:18:31

Comment on Tutorial : Using substring( ) in Java By Fazal
@Eric

You would have to know the locations of where you would like to parse before using a method like this.

A better approach would be use regular expressions and a scanner. You can Google how to use that type of functionality.

(I know this is over a year later in replying, but someone else might want to know the same thing)


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. Awesome code workings fro me thank you so much :)
View Tutorial          By: Shripad at 2012-01-24 08:58:03

2. it is gooo...very helpful to know the basics
View Tutorial          By: srikanth at 2010-08-24 00:38:57

3. it giving me error in following statment (using wi
View Tutorial          By: prathamesh at 2007-03-16 05:57:20

4. My Friend,

Thank you so much for ex

View Tutorial          By: Bikash at 2010-05-30 00:15:26

5. No main class found
need favour
help

View Tutorial          By: Mudasir at 2012-11-10 17:09:57

6. Awsome...Example...
View Tutorial          By: sitakanta at 2011-12-05 12:22:03

7. no output as well, i'm getting portlist and portId
View Tutorial          By: raul at 2015-10-09 20:05:02

8. its superb
View Tutorial          By: chotu jain at 2011-05-24 08:47:22

9. Any thoughts on how conservative/liberal to be whe
View Tutorial          By: Jon at 2009-05-04 15:29:14

10. nice tutorial man !
View Tutorial          By: yash at 2012-11-10 05:08:31