Next: Tokenizing a NUL terminated Unicode string, Previous: Searching for a character in a NUL terminated Unicode string, Up: Elementary string functions on NUL terminated strings [Contents][Index]
The following functions search whether a given Unicode string is a substring of another Unicode string.
uint8_t * u8_strstr (const uint8_t *haystack, const uint8_t *needle) ¶ uint16_t * u16_strstr (const uint16_t *haystack, const uint16_t *needle) ¶ uint32_t * u32_strstr (const uint32_t *haystack, const uint32_t *needle) ¶ Finds the first occurrence of needle in haystack.
This function is similar to strstr and wcsstr, except
that it operates on Unicode strings.