Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for trimLeftUnicode (0.17 sec)

  1. src/bytes/bytes.go

    		return trimLeftByte(trimRightByte(s, cutset[0]), cutset[0])
    	}
    	if as, ok := makeASCIISet(cutset); ok {
    		return trimLeftASCII(trimRightASCII(s, &as), &as)
    	}
    	return trimLeftUnicode(trimRightUnicode(s, cutset), cutset)
    }
    
    // TrimLeft returns a subslice of s by slicing off all leading
    // UTF-8-encoded code points contained in cutset.
    func TrimLeft(s []byte, cutset string) []byte {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
Back to top