split_once

Function split_once 

Source
pub fn split_once(
    str: &OsStr,
    ch: char,
) -> Option<(Cow<'_, OsStr>, Cow<'_, OsStr>)>