str

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(needle string, haystack []string) int

Contains returns the index of needle in haystack, if exists, or -1 if doesn't exist

func DumpJSON added in v0.3.0

func DumpJSON(src any) string

func Filter added in v0.3.0

func Filter(s string, set []rune, replacement ...rune) string

Filter cuts all chars not in set, and optinally replaces them with the replacement rune

Types

This section is empty.

Jump to

Keyboard shortcuts

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