Hard case

Craig Newman craig at starfirelighting.com
Thu Aug 12 08:44:18 EDT 2021


You must not include quotes in the answer line. That will always simply return the string "xItem contains @“
But losing those quotes does indeed return “true”.

Craig

> On Aug 12, 2021, at 6:24 AM, matthias rebbe via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> 
> put "@ " into xItem
> 
> switch
> 
> case (xItem contains "@")
> 
> answer "xItem contains @"
> 
> break
> 
> end switch




More information about the use-livecode mailing list