- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for trimRightUnicode (0.07 sec)
-
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 { if len(s) == 0 {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Sep 03 20:55:15 UTC 2024 - 35.6K bytes - Viewed (0)