trim
(
original
)
trimmed
Type:
(
Text
)
->
Text
Removes white space from beginning and end of the text.
Examples
Click an example to insert it
trim
(
"No spaces either side."
)
→
"No spaces either side."
trim
(
" Several spaces "
)
→
"Several spaces"
trim
(
"^t Tabs and newlines also removed.^n"
)
→
"Tabs and newlines also removed."