Thanks.
Richmond.
On 10.05.2017 17:31, Klaus major-k via use-livecode wrote:
Hi Richmond,
Am 10.05.2017 um 16:18 schrieb Richmond via use-livecode
<use-livecode@lists.runrev.com>:
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.
this does work:
...
if MNOSE ends with "$W" then
...
if char -2 to -1 of MNOSE = "$W" then
...
Richmond.
Best
Klaus
--
Klaus Major
http://www.major-k.de
kl...@major-k.de
_______________________________________________
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