text item delimiter
text item delimiter
- Subject: text item delimiter
- From: "Ruby Madraswala" <email@hidden>
- Date: Fri, 29 Apr 2005 10:25:37 -0400
- Thread-topic: Tidying a string
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
Ruby
_______________________________________________
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