Lua SwxWare v13.10
This helper function returns a given number of characters from a given position from within a given string.
local sMid = StringMid(str, pos, len)
This function returns a string value.
Example:
local sMid = StringMid("Erika Mustermann", 7, 6) PBXScript.OutputTrace("sMid = " .. sMid) --> sMid = Muster
By Tom Wellige