Function split_once

Source
pub fn split_once(
    s: &'static [&'static str],
    delimiter: &'static [&'static str],
) -> (Value, Value, Value)
Expand description

Deduce splits for each string in the input slice once over the corresponding delimiter, resulting in two separate string parts and a boolean indicating successful splits.