if NMOSE ends with "$W" then OR
if char -2 to -1 of MNOSE is "$W" then On 5/10/2017 10:18 AM, Richmond via use-livecode wrote: > Suppose I have a string a bit like this: > > "and then the gigantic monster bit my mother on the nose $W" > > and I want to check that that string ends with "$W" . . . > > I tried this (pseudo code): > > *if the ((last char) & (last char -1)) of MNOSE = "$W"* > > and it did not work. > > > Richmond. > > _______________________________________________ > 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 > _______________________________________________ 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