Syntax
trimsuffix(string)
Description
The trimsuffix() function returns a strings with the stated suffix removed.
Example
Version="1.2_testing" println(trimsuffix(Version, "_testing")) URL="https://foo.bar.com/index.html" URL=trimsuffix(URL, "/index.html") println(URL) 1.2 https://foo.bar.com