Extracting part of a string from a variable
Posted: Sat Jan 17, 2015 8:57 pm
If I have some text, e.g. "elephant" stored in the variable MyString, how would I extract the last three characters from the variable MyString to get "ant"?
In other languages, the function Right(MyString, 3) would do this but there doesn't seem to be such a function in LiveCode.
Many thanks,
Steven
In other languages, the function Right(MyString, 3) would do this but there doesn't seem to be such a function in LiveCode.
Many thanks,
Steven