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@lists.runrev.com> wrote: > > > put "@ " into xItem > > switch > > case (xItem contains "@") > > answer "xItem contains @" > > break > > end switch _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode