Parse a String with escape Character
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Vishnu_G
Posted On:   Friday, March 13, 2009 07:22 AM

Please help me parse the following String in java
to get the runs and wickets as a seperate String values.

Example: "IND 579 9.5 Overs"

Output:
Runs : 57
Wickets : 9

Thanks.

Re: Parse a String with escape Character

Posted By:   Daniel_Baylon  
Posted On:   Monday, March 23, 2009 05:51 PM


You can use StringTokenizer class to split a string based on specific characters.




Regards.

About | Sitemap | Contact