This is the documentation for the development version.
There are no official binaries for it; build it from the source code in git.
Download links on these pages work only after the release.
For the current release, see version 7.0.
trim()
trim(string): String
Removes blanks (space and tab characters) from both sides of specified string.
string |
String |
String to trim |
Return
Source string with blanks at both sides removed.
print(trim(" abc def ")); //will print "abc def"