How to avoid that « 3 » be in « 34 » ?

Jim Ault JimAultWins at yahoo.com
Sun Jan 22 14:29:57 EST 2006


Glad you figured out that I was sending you an example showing the
difference and the use of wholematches and you found your answer :-)

Jim Ault
Las Vegas


On 1/22/06 6:37 AM, "André.Bisseret" <Andre.Bisseret at inria.fr> wrote:

> The solution of Jim :
> --------------------------
> answer wordoffset("AB-b3", fld 1)
> set the wholematches to true
> answer  wordoffset("AB-b3", fld 1)
> ---
> set the wholematches to true
> if wordOffset(myVar,fld 1) < 1 then --it is not found
> ----------------------------
> it works well but in my current case, I would like the users not to
> have to click « OK » in anwer boxes. Then I tried :
> -------------
> set the wholematches to true
> if wordOffset(myVar,myField) < 1 then put myVar & cr after myField
> --------------
> that works as well.
> 
> André





More information about the use-livecode mailing list