Text and not text in a string

Ken Ray kray at sonsothunder.com
Sat Sep 20 23:43:05 EDT 2008



> How do I ask if the string contains "Internet" but not "Work" or "Home"?

You could also do:

  if ("Internet" is in tString) and ("Work" is not in tString) and ("Home"
is not in tString) then
    -- whatever you want to do
  end if

Ken Ray
Sons of Thunder Software, Inc.
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/





More information about the use-livecode mailing list