trim() Function

Function

trim( text )

Removes all unnecessary spaces from the text. Only single spaces between words are considered necessary.

Parameters

Keyword Type Description

text

Text

The string of text from which unnecessary spaces are to be removed.

Returns

Text

Examples

trim(" this text needs trimming ") returns this text needs trimming

Open in Github Built: Tue, May 17, 2022 (03:09:23 PM)

On This Page

FEEDBACK