Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for genSplit (0.16 sec)

  1. src/bytes/bytes.go

    func Split(s, sep []byte) [][]byte { return genSplit(s, sep, 0, -1) }
    
    // SplitAfter slices s into all subslices after each instance of sep and
    // returns a slice of those subslices.
    // If sep is empty, SplitAfter splits after each UTF-8 sequence.
    // It is equivalent to SplitAfterN with a count of -1.
    func SplitAfter(s, sep []byte) [][]byte {
    	return genSplit(s, sep, len(sep), -1)
    }
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
Back to top