pub const fn memchr(x: u8, text: &[u8]) -> Option<usize>
slice_internals
Returns the first index matching the byte x in text.
x
text