With my sample script i  just wanted to show to Richmond  that

case (xitem contains "@")

definitely works. Or did i misread his post?





> Am 12.08.2021 um 14:44 schrieb Craig Newman via use-livecode 
> <[email protected]>:
> 
> 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 
>> <[email protected]> wrote:
>> 
>> 
>> put "@ " into xItem
>> 
>> switch
>> 
>> case (xItem contains "@")
>> 
>> answer "xItem contains @"
>> 
>> break
>> 
>> end switch
> 
> _______________________________________________
> use-livecode mailing list
> [email protected]
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to