strings

package
v0.5.0-rc.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SplitLast

func SplitLast(s, sep string) (string, string, error)

SplitLast splits a specified string on the last occurrence of the specified separator and returns two strings -- the first containing everything that preceded the separator and the second containing everything that followed the separator. If the specified string contains no occurrences of the specified separator, an error is returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL