index, rindex - vyhledej znak v řetězci
Standardní knihovna C (libc, -lc)
#include <strings.h>
[[zastaralé]] char *index(const char *s, int c);
[[zastaralé]] char *rindex(const char *s, int c);
4.3BSD; marked as LEGACY in POSIX.1-2001. POSIX.1-2008 removes the specifications of index() and rindex(), recommending strchr(3)EN and strrchr(3)EN instead.