Lua SwxWare v13.10
This helper function returns the given number of characters from the right side of the given string.
local sRight = StringRight(str, len)
This function returns a string value.
Example:
local sRight = StringRight("Erika Mustermann", 4) PBXScript.OutputTrace("sRight = " .. sRight) --> sRight = mann
By Tom Wellige