• 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
Re: Direct character replacement in a string
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Direct character replacement in a string


  • Subject: Re: Direct character replacement in a string
  • From: "Christopher C. Stone" <email@hidden>
  • Date: Tue, 6 Feb 2001 22:19:26 -0600

Hello Kevin,

I nearly always use the RegEx Commands osax for find/replace:

http://www.lazerware.com/FTP/RECommands.hqx


set t to "Th*s *s an ?xampl?"

set t to REReplace t with "i" pattern "\\*"
set t to REReplace t with "e" pattern "\\?"

--> result: This is an example



Best Regards,

Christopher Stone
______________________________
StoneWorks Computer Consulting
email@hidden


References: 
 >Direct character replacement in a string (From: FlyMac <email@hidden>)

  • Prev by Date: OSA Menu conflict?
  • Next by Date: Re: Scripting Eudora
  • Previous by thread: Re: Direct character replacement in a string
  • Next by thread: Re: Direct character replacement in a string
  • Index(es):
    • Date
    • Thread