bill at bluewatermaritime.com
Wed Aug 4 09:38:00 CDT 2004
switch (Text) contains
put "no cargo" into fld "e4"
put "oil bunkers" into fld "e5"
put "general cargo" into fld "e6"
The above is a simple switch where (Text) is more than one word and I am
looking to see if that list of words contains one particular word. I have
tried every possible permutation of this and can't find the simple answer.
Maybe I have to do like in MySQL and put ? Before and after my search word
although that is particular for MySQL.
What is the easiest way to do this (other than three separate if statements)
-- I would like to get the switch working with a "contains" search.
More information about the use-livecode