Hi Rodrigo,
You're probably better off getting rid of these quotes first, e.g.
Repeat with myItem = 1 to mainList.count
mainList[myItem] = value(mainList[myItem])
End repeat
Or something like that.
Then you can do mainList[3][1] = 12
HTH!
... Alex ...
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Rodrigo Peres
> Sent: 06 May 2004 16:20
> To: Lingo
> Subject: <lingo-l> Convert string to list
>
> Hi list,
>
> I'm retieving from a txt (I don't have control over it) a
> list with values for example like this: ["[1,2]","[3,4]","[12,1]"]
>
> There's a way to acces the values as a list in order to
> retrive using GetAt().. Something like
> mainList[3].internal[1] and get 12???
>
> Or any other way to get the values one by one.. I've tried to
> use pregex xtra, but after I realize it's not shockwave safe so...
>
> Thank's
>
> Rodrigo
>
> [To remove yourself from this list, or to change to digest
> mode, go to http://www.penworks.com/lingo-l.cgi To post
> messages to the list, email [EMAIL PROTECTED] (Problems,
> email [EMAIL PROTECTED]). Lingo-L is for learning and
> helping with programming Lingo. Thanks!]
>
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL
PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping
with programming Lingo. Thanks!]