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. Hi,
I want to write an Android Application,

View Tutorial          By: Kara at 2014-11-20 07:39:03

2. can you please e mail me a code about hotel reserv
View Tutorial          By: princeton at 2008-09-19 02:32:13

3. hi issac thank you for your sample. can you please
View Tutorial          By: edwin at 2009-05-20 22:04:14

4. how to run file IO program?
isn't that must

View Tutorial          By: farah at 2009-08-24 02:41:59

5. please somebody tell me how to run this applicatio
View Tutorial          By: black Panther at 2008-04-01 02:08:09

6. sir i want this following pattern using loops

View Tutorial          By: teju at 2015-09-13 22:46:58

7. Hi, You need to place a control on your form

View Tutorial          By: Ranjit at 2010-02-09 02:29:40

8. hi please help me out.. how to use this card for r
View Tutorial          By: sasivarnan at 2011-04-27 15:01:12

9. MSComm1.Settings="9600,n,8,1"

View Tutorial          By: ali at 2012-02-25 21:52:21

10. while run program i got this error
The serv

View Tutorial          By: jai at 2009-09-04 04:38:39