Home | History | Annotate | Download | only in strings

Lines Matching full:substrings

307 // SplitN slices s into substrings separated by sep and returns a slice of
308 // the substrings between those separators.
310 // The count determines the number of substrings to return:
311 // n > 0: at most n substrings; the last substring will be the unsplit remainder.
312 // n == 0: the result is nil (zero substrings)
313 // n < 0: all substrings
316 // SplitAfterN slices s into substrings after each instance of sep and
317 // returns a slice of those substrings.
319 // The count determines the number of substrings to return:
320 // n > 0: at most n substrings; the last substring will be the unsplit remainder.
321 // n == 0: the result is nil (zero substrings)
322 // n < 0: all substrings
327 // Split slices s into all substrings separated by sep and returns a slice of
328 // the substrings between those separators.
333 // SplitAfter slices s into all substrings after each instance of sep and
334 // returns a slice of those substrings.
342 // characters, as defined by unicode.IsSpace, returning an array of substrings of s or an