Main index | Section 3 | 日本語 | Deutsch | Options |
#include <strings.h>
The index() function locates the first occurrence of c (converted to a char) in the string pointed to by s. The terminating null character is considered part of the string; therefore if c is ‘\0’, the functions locate the terminating ‘\0’.
The rindex() function is identical to index(), except it locates the last occurrence of c.
INDEX (3) | March 20, 2011 |
Main index | Section 3 | 日本語 | Deutsch | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
“ | You have successfully logged in, Now press any key to log out | ” |