trim
Description
Remove leading and trailing blanks in a string.
Usage
Client side: Y
Server side: Y
Syntax
String trim(String string)
Argument
string
The string to be manipulated. The argument can be any string.
Return
Returns a string with leading and trailing white space removed.
Example
trim(" Hello")
returns "Hello".
trim("Hello")
returns "Hello".
See also
See also