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: Michelle Steiner <email@hidden>
- Date: Wed, 11 Jul 2001 07:28:09 -0700
On 7/10/01 11:51 PM, Paul Berkowitz <email@hidden> wrote:
>
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
You're sick.
You also have a major and a minor error in your script. Here's the
correction:
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
set text item delimiters to ""
aWord
--Michelle
----------------------------------------------------------------------
| Michelle Steiner | We're not human beings having a spiritual |
| | experience. We're spiritual beings |
| email@hidden | having a human experience. |
----------------------------------------------------------------------