Jump to content
  • StringTrim()

    StringTrim()

    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#

     

     


    Tom Wellige
     Share


     Share




×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and have taken note of our Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.