Syntax:
$[c,string,start,end]
In this transformation, NMAKE32 will return characters at positions start through end, inclusive, where start and end are integers. If start is not specified, it defaults to 1. If end is not specified, it defaults to the end of the string. Note that the first position is 1, not 0. If either start or end is a negative number, it indicates the position relative to the end of the string, rather than to the start. In this case, -1 indicates the last character.
Examples:
Given the following clip string transformations:
$[c,FILE01.OBJ,5,6] $[c,FILE01.OBJ,-6] $[c,FILE01.OBJ,,6]
The first transformation will return:
01
The second transformation will return:
01.OBJ
The third transformation will return:
FILE01