Text and not text in a string

Terry Judd tsj at unimelb.edu.au
Sat Sep 20 17:42:20 CDT 2008

How about...

put (myString contains "cat") and not((myString contains "dog") or (myString
contains "mouse"))


On 21/9/08 8:35 AM, "Bill Vlahos" <bvlahos at mac.com> wrote:

> I want to determine if a string contains a word but doesn't contain
> two other words.
> For example (in the message box):
> put "Internet Work" contains "Work" is true
> How do I ask if the string contains "Internet" but not "Work" or "Home"?
> Bill Vlahos
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

Dr Terry Judd
Lecturer in Educational Technology (Design)
Biomedical Multimedia Unit
Faculty of Medicine, Dentistry & Health Sciences
The University of Melbourne
Parkville VIC 3052

61-3 8344 0187

More information about the use-livecode mailing list