Skip to main content

find_str

Function find_str 

Source
pub fn find_str<T: Integer>(
    input: StringAVT<'_, T>,
    needle: &str,
) -> Result<IntegerArray<i32>, KernelError>
Expand description

Finds the first byte index of needle in each string element. Returns -1 if not found.