Re: Use AS operators dinamically
Re: Use AS operators dinamically
- Subject: Re: Use AS operators dinamically
- From: Matt Neuburg <email@hidden>
- Date: Sun, 03 Jan 2010 11:52:26 -0800
- Thread-topic: Use AS operators dinamically
On Fri, 1 Jan 2010 20:15:48 +0000 (GMT), Hagimeno <email@hidden> said:
>Hi,
>
>I would like to know if and how is possible to use the AS operators like starts
with, contains, ends with, starting from them as "string".
>Suppose you have an array like this that contains the variable where to search,
the operator and the string to search:
>
>set myArray to {myVar, "starts with", "john"}
>
>I would like to be able to search in myWar using the operator starts with that
is described as string but need to be real operator.
>
>Is possible to do that?
Many modern scripting languages can easily do this sort of thing, but
AppleScript is not one of them. m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.tidbits.com/matt/default.html#applescriptthings
_______________________________________________
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