Mid Function - microsoft/MIMWAL GitHub Wiki
Syntax
string Mid(value:string, start:int, length:int)
Description
Returns a specified number of characters from a specified position in a string.
Remarks
As is the case with any other WAL functions, the index is zero-based.
If the second input parameter (start index) or the third input parameter (length) is null, an exception is thrown. If the first parameter value is null or the length of the input string is less than start index, the function returns a null value. If the sum of start index and length parameter is greater than the length of the input string, the entire substring is returned.
Supported Version
1.0.0.0 and later
Examples
Mid([//Target/DN],2,4)