Function value_split

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

Splits each string in the provided slice using corresponding delimiters and returns the collection of split results as a list value wrapped in Value.

Processes two slices of static string slices by pairing each input string with its associated delimiter, performing a split operation on the string, and then collecting each resultant iterator of substrings into a nested list structure conforming to the Value type.