stringsx

package
v0.0.55 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2019 License: Apache-2.0 Imports: 2 Imported by: 57

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Coalesce

func Coalesce(str ...string) string

Coalesce returns the first non-empty string value

func Splitx

func Splitx(s, sep string) []string

Splitx is a special case of strings.Split which returns an empty slice if the string is empty

func ToLowerInitial added in v0.0.38

func ToLowerInitial(s string) string

ToLowerInitial converts a string's first character to lower case.

func ToUpperInitial added in v0.0.38

func ToUpperInitial(s string) string

ToUpperInitial converts a string's first character to upper case.

Types

This section is empty.

Jump to

Keyboard shortcuts

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