wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes how to parse this string ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "how to parse this string ?" Watch "how to parse this string ?" New topic
Author

how to parse this string ?

Edward Chen
Ranch Hand

Joined: Dec 23, 2003
Posts: 798
for example, I have a line of String, I know the format is

char from 0 - 40 is ID;
char from 41 - 50 is Name;
....

how to parse this string ?

Thanks.
Monu Tripathi
Rancher

Joined: Oct 12, 2008
Posts: 1369
    
    1

take a look at this


[List of FAQs] | [Android FAQ] | [Samuh Varta]
Nishan Patel
Ranch Hand

Joined: Sep 07, 2008
Posts: 684

And if you match some specific patterns then read this link Regex pattern will help you.

Read this Regex Pattern


Thanks, Nishan Patel
SCJP 1.5, SCWCD 1.5, OCPJWSD Java Developer,My Blog
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: how to parse this string ?
 
Similar Threads
method overloading ???
String..
Network byte order
Sending XML data to webservice
Missing characters with SAX Parser