Name
index, rindex - locate character in stringLibrary
Standard C library ( libc ", " -lc )Synopsis
#include <strings.h> [[deprecated]] char *index(const char *" s ", int c );
[[deprecated]] char *rindex(const char *" s ", int c );
Description
index() is identical to strchr(3).rindex() is identical to strrchr(3).