Home | History | Annotate | Download | only in strings

Lines Matching refs:substrings

262 // SplitN slices s into substrings separated by sep and returns a slice of
263 // the substrings between those separators.
265 // The count determines the number of substrings to return:
266 // n > 0: at most n substrings; the last substring will be the unsplit remainder.
267 // n == 0: the result is nil (zero substrings)
268 // n < 0: all substrings
274 // SplitAfterN slices s into substrings after each instance of sep and
275 // returns a slice of those substrings.
277 // The count determines the number of substrings to return:
278 // n > 0: at most n substrings; the last substring will be the unsplit remainder.
279 // n == 0: the result is nil (zero substrings)
280 // n < 0: all substrings
288 // Split slices s into all substrings separated by sep and returns a slice of
289 // the substrings between those separators.
300 // SplitAfter slices s into all substrings after each instance of sep and
301 // returns a slice of those substrings.
317 // characters, as defined by unicode.IsSpace, returning a slice of substrings of s or an