Splits str on each occurrence of any character in delims. collapse indicates whether to collapse consecutive occurrences to a single one to prevent producing empty slices.
input string
delimiter character
destination array of slices
maximum number of slices; set to 0 to indicate no limit
the resulting slices
See Implementation
Splits str on each occurrence of any character in delims. collapse indicates whether to collapse consecutive occurrences to a single one to prevent producing empty slices.