Re: text item delimiter
Re: text item delimiter
- Subject: Re: text item delimiter
- From: Dave Balderstone <email@hidden>
- Date: Fri, 29 Apr 2005 08:32:53 -0600
On Apr 29, 2005, at 8:25 AM, Ruby Madraswala wrote:
Is this doable using text item delimiters, I tried it's not working.
All I want to do is search a text file replace all occurrence of 1 to
a, 2 to b.........................
Set FileText to read file tmptw from 1
Set Applescript's text item delimiters to {"1","2","3","4"}
Set wordlist to text items of FileText
Set Applescript's text item delimiters to {"a","b","c","d"}
Set FileText to wordlist as text
You can't set TIDs to multiple items. You'll have to do them one at a
time.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden