Search

Trim

Last Updated: May 10, 2022

Articles

Use this function to remove all whitespace from both sides of the input string.

Syntax

Trim (input)

Parameters

Input Parameter Name Description
input input string

Returns

Return value Description
text Returns the trimmed string

Sample

Trim ( ‘ abcde ’ )

  • Removes the whitespace from both sides of the string ’ abcde ‘.
    Returns ‘abcde’.

To view all the Text functions, click here.

Did you find what you were looking for?