split-every
use *;
// This prints: [(0, 0), (0, 1)]
// [(0, 0)]
// [(0, 1), (0, 0)]
// [(0, 1)]
let mut splitter: = .split_every_n_times;
println!;
println!;
println!;
println!;
// This prints: "Oh hi there"
// "I don't really"
// "know what to"
// "say".
let mut splitter: =
"Oh hi there I don't really know what to say".split_every_n_times;
println!;
println!;
println!;
println!;
// This prints: ["This", "is", "you", "This"]
// ["me", "This", "is", "someone", "This"]
// ["them"]
let mut iter = .iter.flatten.map;
let mut splitter: =
n_times_from_fn;
println!;
println!;
println!;
✨ Split For Every N Occurrences Of A Pattern Iteratively
This crate helps you split data for every n occurrences of a pattern.
It contains an exclusive iterator.
📄 Licensing
split-every is licensed under the MIT LICENSE; This is the summarization.