Search

Strip Spaces

Last Updated: Feb 14, 2022

Articles

Use this function to remove all adjacent white spaces in the input string into a single space.

Syntax

Strip Spaces (input)

Parameters

Input Parameter Name Description
input input string

Returns

Return value Description
text Returns the trimmed text

Sample

Strip Spaces (‘a   b     c    d’)

Removes all adjacent white spaces in the string ‘a   b     c    d’ into a single space.

  • Returns ‘a b c d’.

To view all the Text functions, click here.

Did you find what you were looking for?