Function trim( str )
- Description:
-
Trims whitespace from both ends of a string.
- Parameters:
-
- str (String)
- input string
- Return Value (String):
- str with any spaces trimmed from start and finish
- Examples:
trim(" some text ") = "some text"
trim("some text") = "some text"
- Signature:
- String trim(String)