Re: text to list
Re: text to list
- Subject: Re: text to list
- From: Timothy Bates <email@hidden>
- Date: Mon, 02 Dec 2002 01:52:59 +1100
>
From: John Clark <email@hidden>
>
Is there anyway I can convert text to a list.
>
>
"102030405060708090" to {"1", "2", "3", etc}
>
>
I've tried text delimiters but they won't allow me to use the " delimiter
set {oldTIDs, AppleScript's text item delimiters} to {AppleScript's text
item delimiters, {"0"}}
set a to text items of "102030405060708090"
set AppleScript's text item delimiters to oldTIDs
return a
--> {"1", "2", "3", "4", "5", "6", "7", "8", "9", ""}
Dr Timothy Bates <
mailto:email@hidden>
Macquarie Centre for Cognitive Science (MACCS)
Macquarie University
Ph 61 (2) 9850 8623
Fx 61 (2) 9850 6059
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.