Re: Newbie, every word where it contains "ox"
Re: Newbie, every word where it contains "ox"
- Subject: Re: Newbie, every word where it contains "ox"
- From: Rob Stott <email@hidden>
- Date: Thu, 08 Aug 2002 13:03:23 +0100
Hmmm, interesting alternative.
On 8/8/2002 12:59 pm, "Steve Thompson" <email@hidden> wrote:
>
set myString to "the fox oxon can count 1 2 3 and he love nox"
>
set a to every word of myString
>
set b to {}
>
repeat with x in a
>
if x contains "ox" then set end of b to (x as string)
>
end repeat
>
B
>
>
-->{"fox","oxon","nox"}
--
Rob Stott
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.