Re: Contains?
Re: Contains?
- Subject: Re: Contains?
- From: Michelle Steiner <email@hidden>
- Date: Thu, 11 Sep 2008 11:01:17 -0700
On Sep 11, 2008, at 10:56 AM, J. Todd Slack wrote: I thought that AS had a 'contains' function where I could say something like:
if myVariable contains ".txt" display dialog "oh no!" end if
But I think I must be mistaken, how can I accomplish this?
It works just as you wrote it, with a text or string variable. How is "myvariable" defined in your script?
-- Michelle
-- Please contribute to the Leukemia and Lymphoma Society, and help me meet my fund raising goal for my marathon training.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
References: | |
| >Contains? (From: "J. Todd Slack" <email@hidden>) |