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.
You can experiment with this function in the test box below.
trim(" this text needs trimming ") returns
this text needs trimming
On This Page