Sign in
go
/
go.git
/
refs/heads/dev.simd
/
.
/
doc
/
next
/
6-stdlib
/
99-minor
/
bytes
/
71151.md
blob: a86361ef5adbb25c6cad2ba85b19e8ad3f3f51c0 [
file
] [
view
] [
edit
]
The
new
[
CutLast
]
function
slices a
[]
byte
around the
last
occurrence of a separator
.
It
can replace
and
simplify some common uses of
LastIndex
.