RE: Faster List Checking
RE: Faster List Checking
- Subject: RE: Faster List Checking
- From: email@hidden
- Date: Thu, 29 May 2003 14:49:02 -0400
On Wed, 28 May 2003 22:05:30 -0400, Ken Tozier <email@hidden> suggested,
>
For example:
>
>
set logolist to "joe, jill, jim, pete, bobo, etc..."
>
>
set AppleScript's text item delimiters to "jim, "
>
yeilds -> "joe, jill, " and "pete, bobo, etc..."
In this particular arrangement, you need a final comma at the end of the list,
since the item you are searching for has a comma. The example works because ",
etc..." fulfills that function.
That is to say, this won't work:
set logolist to "joe, jill, jim"
but this will:
set logolist to "joe, jill, jim,"
Searching with the comma is important, because otherwise you'll find "bob" in
"joe, jill, jim, pete, bobo, etc..."
--
Scott Norton Phone: +1-703-299-1656
DTI Associates, Inc. Fax: +1-703-706-0476
2920 South Glebe Road Internet: email@hidden
Arlington, VA 22206-2768 or email@hidden
_______________________________________________
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.