|
-
Feb 21st, 2009, 06:02 PM
#1
Thread Starter
Addicted Member
[RESOLVED] Parsing Text
Hi All,
I really need your help on parsing the below three lines of text:
Code:
Dirs : 1225 0 1225 0 0 2
Files : 9996 18 9976 0 2 3
Bytes : 7.066 g 6.32 m 6.617 g 0 453.62 m 272
I need to pull the numbers from each row and populate them into an array.
For example on the first line, I would like to have an array that would be filled with the 6 numbers, 1225, 0, 1225, 0, 0, 2.
The problem I am having is that the spaces are not uniform from line to line and I cannot parse or split the lines on a static string.
Can anyone offer some assistance? Thank you all in advance. Please let me know if I need to clarify anything.
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
|