fn take_until<'a>(s: &'a str, marker: &str) -> Option<(&'a str, &'a str)>
Split s at the first occurrence of marker. Returns (before, after_marker) - the marker itself is consumed. None when the marker isn’t found.
s
marker
(before, after_marker)
None