trim
Description
Takes the argument string and trims of any leading and/or trailing whitespace, returning the result.
Syntax
trim( string )
Examples
trim(
"Hello Dave "
)
//returns "Hello Dave"
trim(
" Goodbye."
)
//returns "Goodbye."