Skip to main content

stripos

Function stripos 

Source
pub fn stripos(
    haystack: &[u8],
    needle: &[u8],
    offset: i64,
) -> Result<Option<usize>, Error>
Expand description

PHP stripos($haystack, $needle, $offset): byte position of the first ASCII case-insensitive occurrence at or after offset (negative: from the end), None for false. An empty needle matches at the offset.