Embedded TCP/IP stack: fnet_strrchr

FNET

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-2018 by Andrey Butok. http://fnet.sourceforge.net