splitn

Function splitn 

Source
pub fn splitn<H, P>(haystack: H, n: usize, needle: P) -> SplitN<H, P::Searcher> 
where H: Haystack, P: Needle<H>, H::Target: Hay,