aspose file tools*
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
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: 688

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
 
 
subject: how to parse this string ?