Direct character replacement in a string
Direct character replacement in a string
- Subject: Direct character replacement in a string
- From: FlyMac <email@hidden>
- Date: Wed, 07 Feb 2001 00:48:47 +0100
Hello !
First, I'd like to thank all the people here, you helped me a lot already :)
By the way, I have a question that could interst other "almost-newbies" in
AppleScript like me, hehe:
I get a string from a text file (using Akua) that could be something like
this:
"Th*s *s an ?xampl?"
Where every "*" should be replaced by an "i" and every "?" by an "e" before
doing something else in the script.
There is no problem to do this when the * are separated with a delimiter ("
" in this example) but when they are directly in a word ?
Have a nice day and thanks in advance !
Kevin