• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
text item delimiter
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: text item delimiter
      • From: "Mark J. Reed" <email@hidden>
    • Re: text item delimiter
      • From: Rob Stott <email@hidden>
    • Re: text item delimiter
      • From: Dave Balderstone <email@hidden>
  • Prev by Date: Re: Dashboard - Applescripts in web pages?
  • Next by Date: Re: text item delimiter
  • Previous by thread: [ANN] PreFab UI Browser 1.4
  • Next by thread: Re: text item delimiter
  • Index(es):
    • Date
    • Thread