poking around near the end of a string

Richmond richmondmathewson at gmail.com
Wed May 10 10:18:40 EDT 2017

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.


More information about the use-livecode mailing list