|
|
coherent
strrchr() String Function strrchr() Search for rightmost occurrence of a character in a string #include <string.h> cchhaarr *ssttrrrrcchhrr(_s_t_r_i_n_g, _c_h_a_r_a_c_t_e_r); cchhaarr *_s_t_r_i_n_g; iinntt _c_h_a_r_a_c_t_e_r; strrchr looks for the last, or rightmost, occurrence of character within string. character is declared to be an int, but is handled within the function as a char. Another way to describe this function is to say that it performs a reverse search for a character in a string. It is equivalent to the COHERENT function rriinnddeexx. strrchr returns a pointer to the rightmost occurrence of charac- ter, or NULL if character could not be found within string. ***** See Also ***** rindex(), string functions, string.h COHERENT Lexicon Page 1
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.