Removes all leading and trailing whitespace.
function (optional
text
as nullable any, optionaltrim
as nullable any) as nullable any
Returns the result of removing all leading and trailing whitespace from text value text
.
Text.Transformations
Remove leading and trailing whitespace from " a b c d ".
Text.Trim(" a b c d ")
"a b c d"