strings

package
v1.1.9 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: Unlicense Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsEmpty

func IsEmpty[S ~string](value S) bool

IsEmpty returns true if the string is nil or empty but will return false otherwise

func ModifyAndJoin added in v1.1.4

func ModifyAndJoin[S ~string](applier func(string) string, separator string, items ...S) string

ModifyAndJoin applies a modifier function to each string in the list submitted to the function and then joins them all together using separator

func Quote added in v1.1.4

func Quote[S ~string](inner S, quote string) string

Quote creates a string from an inner string by adding quote strings before and after

Types

This section is empty.

Jump to

Keyboard shortcuts

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