ST_NXTS
The ST_NXTS routine returns a pointer to the first occurrence
of any of a list of substrings within a given string.
USAGE: CALL ST_NXTS (STRING,IFIRST,ILAST,STLIST,ILENS,NSTR,IPOS,
ISTRG,IRET)
Input parameters:
STRING CHAR* Input string
IFIRST INTEGER First position to check
ILAST INTEGER Last position to check
STLIST (NSTR) CHAR* List of substrings
ILENS (NSTR) INTEGER Lengths of substrings
NSTR INTEGER Number of substrings
Output parameters:
IPOS INTEGER Position of first substring
ISTRG INTEGER Array element number of string
IRET INTEGER Return code
0 = normal return
-3 = substring not found
GEMLIB.tar |
Library contains routines
utilities for GEMPAK. (Fortran90)
Date posted: 2/27/2007 |