|
STRING INDEXName:
STRING RIGHT INDEX
where <nstart> is a parameter containing the returned start position; <nstop> is a parameter containing the returned stop position; <sorg> is the original string; and <smatch> is the substring to be matched within <sorg>; This syntax searches <sorg> from left to right.
where <nstart> is a parameter containing the returned start position; <nstop> is a parameter containing the returned stop position; <sorg> is the original string; and <smatch> is the substring to be matched within <sorg>; This syntax searches <sorg> from right to left.
LET NSTART NSTOP = STRING RIGHT INDEX SORG SMATCH
should be coded as
LET NSTART NSTOP = STRING INDEX SORG S2
STRING RIGHT FIND is a synonym for STRING RIGHT INDEX
2018/10: Added STRING RIGHT INDEX 2018/10: Added STRING FIND as a synonym for STRING INDEX 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.
|
Privacy
Policy/Security Notice
NIST is an agency of the U.S.
Commerce Department.
Date created: 12/04/2008 |