ST_NOCC

The ST_NOCC routine finds the Nth occurrence of a character in a string.

USAGE:   CALL ST_NOCC  ( STRING, CHOCC, NOCC, IPOINT, IRET )

   Input parameters:
      STRING          CHAR*           String
      CHOCC           CHAR*           Search character
      NOCC            INTEGER         Occurrence to find

   Output parameters:
      IPOINT          INTEGER         Pointer to Nth occurrence
      IRET            INTEGER         Return code
                                       0 = normal return
                                      -5 = Nth occurrence not found

 
GEMLIB.tar Library contains routines utilities for GEMPAK. (Fortran90)
Date posted: 2/27/2007