Skip to content

MTY_Strcasestr

chrisd1100 edited this page Aug 25, 2022 · 1 revision

Case insensitive substring search.

For more information, see strcasestr from the C standard library.

char *MTY_Strcasestr(
    const char * s0,
    const char * s1
);

Parameters

s0 (const char *)

String to be scanned.

s1 (const char *)

String containing the sequence of characters to match.

Return value

char *

A pointer to the first occurrence in s1 of the entire sequence of characters specified in s0, or NULL if the sequence is not present in s0.

Platform support

Windows   macOS   Android   Linux   Web  

See also

Module: Memory

Clone this wiki locally