Search

Collapse whitespaces

Last Updated: Dec 10, 2020

Articles

Use this function to collapse sequences of white space into a single character and trim string.

Syntax

Collapse whitespaces (input)

Parameters

Input Parameter Name Description
input input string

Returns

Return value Description
text Returns the trimmed text

Sample

Collapse Spaces (‘string to test’) = ‘string to test’

To view all the Text functions, click here.

Did you find what you were looking for?