Skip to main content

strstr

Function strstr 

Source
pub fn strstr<'s>(s1: &'s [i8], s2: &[i8]) -> Option<&'s [i8]>
Expand description

Finds null-terminated s2 in null-terminated s1 and returns its suffix, or None if not found.