Function CSTL_u8string_find_char

Source
pub unsafe extern "C" fn CSTL_u8string_find_char(
    instance: CSTL_UTF8StringCRef,
    ch: char8_t,
    off: usize,
) -> usize
Expand description

Find the first from offset off occurence of the character ch and return its position from the start of the string.

If no match is found CSTL_string_npos is returned.