![]() |
STRING INDEXName:
where <nstart> is a parameter containing the returned start position; <nstop> is a parameter containing the returned stop position; <sorg> is the original string; <smatch> is the substring to be matched within <sorg>; and <sorg> is the name of the string.
should be coded as
LET NSTART NSTOP = STRING INDEX SORG S2
LET STRING S1 = file23.dat LET STRING S2 = 23 LET NSTART NSTOP = STRING INDEX S1 S2The resulting values of NSTART and NSTOP are 5 and 6, respectively.
Date created: 12/4/2008 |