Re: Snippet to remove an item from a list
Re: Snippet to remove an item from a list
- Subject: Re: Snippet to remove an item from a list
- From: Paul Berkowitz <email@hidden>
- Date: Tue, 10 Jul 2001 23:51:30 -0700
On 7/10/01 11:31 AM, "Victor Yee" <email@hidden> wrote:
>
> Has no one read the Hitchhicker's Guide to the Galaxy?
>
>
>
> ;-)
>
>
I will one day. As soon as I figure out how Saturn became a salad...
-----------------Turn the Lad (Thomas Hardy?)---------------------
set aWord to "Saturn"
set Applescript's text item delimiters to "turn"
set ls to text items of aWord
set Applescript's text item delimiters to "lad'
set aWord to "" & ls -- with or without parsley
--> "Salad"
--------------------------------------------------
--
Paul Berkowitz