Re: Direct character replacement in a string
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