Left Function - microsoft/MIMWAL GitHub Wiki

Syntax

string Left(value:string, length:int)

Description

Returns the leading substring of specified length. If the specified length is greater than the input string, the entire input string is returned.

Remarks

If the second input parameter (length) is null, an exception is thrown. If the specified length is greater than the input string, the function returns the entire input string.

Supported Version

1.0.0.0 and later

Examples

Left([//Target/MiddleName],1)