stringtools

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Capitalize

func Capitalize(in string) string

Capitalize en string

func Contain

func Contain(in, substr string) bool

Contain check if string contains substring (ignore case)

func GetCharByIndex

func GetCharByIndex(in string, index int, def string) string

GetCharByIndex returns char from string by index with default value

func GetLastStrChar

func GetLastStrChar(in string) string

GetLastStrChar returns last char of string

func GetLen

func GetLen(in string, def int) int

GetLen returns string length with default value if len is zero

func IsString

func IsString(v interface{}) bool

IsString check if value is string

func Vowel

func Vowel(v string) bool

Vowel check if char is vowel letter

Types

This section is empty.

Jump to

Keyboard shortcuts

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