CSTL_string_find_n

Function CSTL_string_find_n 

Source
pub unsafe extern "C" fn CSTL_string_find_n(
    instance: CSTL_StringCRef,
    ptr: *const c_char,
    off: usize,
    count: usize,
) -> usize
Expand description

Find the first from offset off substring equal to the first count characters at ptr and return its position from the start of the string.

If no match is found CSTL_string_npos is returned.