poking around near the end of a string
paul at researchware.com
Wed May 10 10:39:12 EDT 2017
if NMOSE ends with "$W" then
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.
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the Use-livecode