-
March 20th, 2012, 09:16 PM
#1
j2me
hello , I am new to j2me.
i have a file having two columns, which has double values, i want to parse it and store those values in two different arrays depending on the columns.
i tried it, and parsed it entirely in a single string.
i also have thought of a result: parsing it line by line -> separating it by delimeter -> and separating it in two arrays..
but iam unable to find functions for these operations
can anyone help me..
-
March 26th, 2012, 05:17 AM
#2
Re: j2me
Use StringTokenizer for line by line reading or with any delimiter specified. plain old indexOf() and SubString() can also help.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|