Jump to content
Gold Sponsor: Data-Way IT-Consulting, Austria

  • StringReplace()


    Lua   SwxWare v13.10


    This helper function replaces a given substring within a given string by a replacement substring.


    local sReplace = StringReplace(str, substr, repl)



    This function returns a string value.





    local sReplace = StringReplace("Erika Mustermann", "Muster", "Bau")
    PBXScript.OutputTrace("sReplace = " .. sReplace)
    --> sReplace = Erika Baumann



    Tom Wellige


  • 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.