How I check if words from two fields match?
William de Smet
williamdesmet at gmail.com
Fri Sep 18 16:40:55 EDT 2009
@ Craig & Richmond: thanks!
2009/9/18 <DunbarX at aol.com>
> Richard's solution deals with strings, and would return true if the word
> you were checking for was "yes", and the user entry data was "I went home
> yesterday".
>
> If you want to make sure that only full words returned a valid match, just
> change the script to:
>
> on mouseUp
> put fld "Field1" into TWORD
> put fld "Field2" into TSTRING
> if TWORD is among the words of TSTRING then answer "Well Done!"
> end mouseUp
>
> Craig Newman
> _______________________________________________
> 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
>
More information about the use-livecode
mailing list