VMS Help  —  CRTL  index
    Searches for a character in a string.

    Format

      #include  <strings.h>

      char *index  (const char *s, int c);

1  –  Function Variants

    The index function has variants named _index32 and _index64 for
    use with 32-bit and 64-bit pointer sizes, respectively.

2  –  Arguments

 s

    The string to search.

 c

    The character to search for.

3  –  Description

    The index function is identical to the strchr function, and is
    provided for compatibility with some UNIX implementations.
Close Help