pub fn explode<'a>(
separator: &[u8],
s: &'a [u8],
limit: i64,
) -> Result<Vec<&'a [u8]>, Error>Expand description
PHP explode($separator, $string, $limit): the pieces between occurrences
of separator. A positive limit returns at most that many pieces (the
last holds the rest); a negative one drops that many pieces from the end;
0 is 1. An empty string gives [""] (or [] for a negative limit).