trim
val =
trim
(
str
)
Returns a copy of a string without leading and trailing spaces.
Parameters
str
String being truncated. If not string, converted to string.
Example
a =
trim
(" -Hello- ")
' Returns "-Hello-".