Embedded TCP/IP stack: fnet_strstr

FNET

fnet_char_t* fnet_strstr ( const fnet_char_t str,
const fnet_char_t substr 
)

Locates a substring.

Parameters
strPointer to the null-terminated string to be analyzed.
substrPointer to the null-terminated string to search for.
Returns
This function returns pointer to the first occurrence in str of the entire sequence of characters specified in substr.

This function finds the first occurrence of the substring substr (excluding the terminating null byte) in the string str.


© 2005-2018 by Andrey Butok. http://fnet.sourceforge.net