Embedded TCP/IP stack  4.7.0

◆ fnet_strrchr()

fnet_char_t* fnet_strrchr ( const fnet_char_t str,
fnet_char_t  chr 
)

Locates last occurrence of a character in a string.

Parameters
strPointer to the null-terminated string to be analyzed.
chrCharacter to search for.
Returns
This function returns the pointer to the found character in str, or FNET_NULL if no such character is found.

This function finds the last occurrence of the character
chr in the string pointed to by str..


© 2005-2020 by Andrej Butok. http://fnet.sourceforge.net