strings

package
v0.1.0-rc.22 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: Apache-2.0 Imports: 2 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