Lua SwxWare v13.10
The helper function removes all space characters from the left and right from a given string.
local sTrim = StringTrim(str)
This function returns a string value.
Example:
local sTrim = StringTrim(" Erika Mustermann ") PBXScript.OutputTrace("#" .. sTrim .. "#") --> #Erika Mustermann#

By Tom Wellige