Removes all unnecessary spaces from the text. Only single spaces between words are considered necessary.
trim( text )
text: (Text) The string of text from which unnecessary spaces are to be removed.
Text
You can experiment with this function in the test box below.
Test Input
trim(" this text needs trimming ")
returns this text needs trimming