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 23, 2023 (06:12:33 PM)

On This Page

FEEDBACK