split

Function split 

Source
pub fn split(text: string, delimiter: string, inclusive: bool) -> Vec<string> 
Expand description

Split strings with delimiter.

text is splitted as Vec<string> according to delimiter.

  • inclusive: set if the delimiter must be kept at the end of splitted strings (if present).