Returns the specified string with the leading and/or trailing white space removed.
Parameters:
s
left
true
).
right
true
).
Note: When both left
and right
parameters are
false
, the function returns the original string.
This function may be called in a method-like style:
s.trim()
s.trim(true, false)