string

package
v0.0.0-...-de2dabc Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CombineStringSlices

func CombineStringSlices(s1 []string, s2 ...string) []string

CombineStringSlices merges two slices of strings and returns a new slice instance. Duplicates are removed.

func SafeStringToInt

func SafeStringToInt(s string) int64

SafeStringToInt returns the base-10 integer represented by s, or zero if there is a parse failure.

func Substring

func Substring(input string, start int, length int) string

Substring returns a substring of a string given start and substring length. start and length must be non-negative. The func works with any charset, including Unicode.

Types

This section is empty.

Jump to

Keyboard shortcuts

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