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. i am trying to run the above example in eclipse bu
View Tutorial          By: Prathyusha at 2015-03-10 11:01:06

2. Your output is not correct.. Give the correct out
View Tutorial          By: Surendrakumar at 2014-06-04 07:00:16

3. very nicely explained,
thank you

View Tutorial          By: Amin at 2010-04-14 09:40:30

4. sir... i made a program just like that ... but the
View Tutorial          By: David at 2010-07-08 03:34:13

5. Is System.gc() required with finalize method??
View Tutorial          By: QsRealm at 2012-02-11 08:28:16

6. I want de total main prg to send and receive... se
View Tutorial          By: sharu at 2011-09-12 16:49:24

7. The code gives the following exception :-
<

View Tutorial          By: VIKRAM at 2007-03-11 22:56:16

8. Thank you, saved my life
View Tutorial          By: Zs at 2013-04-13 22:51:54

9. im having problems with showDialog(int) who can i
View Tutorial          By: Samuel at 2013-06-30 05:13:38

10. Hi, i am trying this code but at compile time it w
View Tutorial          By: swapnil at 2012-12-16 01:37:57