Determine last character of a variable

Warren Kuhl warrenkuhl at gmail.com
Wed Aug 26 13:41:03 EDT 2009


This is probably a very stupid question..

I am trying to extract a substring from a variable and am unsure how to
determine the last character...

I tried...
put char 1 to last character of tdata into tsubstring
...but this fails.

Thanks for any help!
Warren



More information about the Use-livecode mailing list