BakerCo
12-05-2006, 10:20 PM
I am having a hard time finding a good way to parse a string and store it in an array... here is an example:
I parsed this from a file:
(320 -192 448) (0 -192 448) (0 -192 0)"
the original string of text in the file looked like this:
"id1" "(320 -192 448) (0 -192 448) (0 -192 0)"
I would like to have that string end up in an array like this:
#([320,-192,448],[0,-192,448],[0,-192,0])
any help would be greatly appreciated
Thanks
-Baker
I parsed this from a file:
(320 -192 448) (0 -192 448) (0 -192 0)"
the original string of text in the file looked like this:
"id1" "(320 -192 448) (0 -192 448) (0 -192 0)"
I would like to have that string end up in an array like this:
#([320,-192,448],[0,-192,448],[0,-192,0])
any help would be greatly appreciated
Thanks
-Baker
