Trim Function - microsoft/MIMWAL GitHub Wiki

Syntax

string Trim(input:string, [trimChars:string])

Description

Removes leading and trailing white spaces or specified characters from a string.

Remarks

If the input string is null, the function returns a null value.

Supported Version

1.0.0.0 and later

Examples

Trim(TitleCase([//Target/DisplayName])) Trim([//Target/DisplayName], "-")