Text.Trim

Syntax

Text.Trim(text as nullable text, optional trim as any) as nullable text

About

Returns the result of removing all leading and trailing whitespace from text value text.

Example 1

Remove leading and trailing whitespace from " a b c d ".

Text.Trim(" a b c d ")

"a b c d"