Embedded TCP/IP stack  4.7.0

◆ fnet_strstr()

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