strrchrSearches for the last occurrence of a specified character in a character string | |||||
Arguments
Return ValueA pointer to the last occurrence of the character c within the string pointed to by s is returned. NULL is returned if c cannot be found within the string.ExplanationThe last occurrence of the character c is located in the character string pointed to by s. A pointer to the located character is returned. |