diff options
Diffstat (limited to 'doc/next')
| -rw-r--r-- | doc/next/6-stdlib/99-minor/bytes/71151.md | 3 | ||||
| -rw-r--r-- | doc/next/6-stdlib/99-minor/strings/71151.md | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/doc/next/6-stdlib/99-minor/bytes/71151.md b/doc/next/6-stdlib/99-minor/bytes/71151.md new file mode 100644 index 0000000000..a86361ef5a --- /dev/null +++ b/doc/next/6-stdlib/99-minor/bytes/71151.md @@ -0,0 +1,3 @@ +The new [CutLast] function slices a []byte +around the last occurrence of a separator. +It can replace and simplify some common uses of LastIndex. diff --git a/doc/next/6-stdlib/99-minor/strings/71151.md b/doc/next/6-stdlib/99-minor/strings/71151.md new file mode 100644 index 0000000000..b979f84553 --- /dev/null +++ b/doc/next/6-stdlib/99-minor/strings/71151.md @@ -0,0 +1,3 @@ +The new [CutLast] function slices a string +around the last occurrence of a separator. +It can replace and simplify some common uses of LastIndex.
\ No newline at end of file |
