stringx

package
v0.0.0-...-a234980 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsBlank

func IsBlank(str string) bool

func SliceToStr2

func SliceToStr2(slice []string) (string, string)

func SliceToStr3

func SliceToStr3(slice []string) (string, string, string)

func SliceToStr4

func SliceToStr4(slice []string) (string, string, string, string)

func StrSplit2

func StrSplit2(str string, sep string) (string, string)

func StrSplit3

func StrSplit3(str string, sep string) (string, string, string)

func StrToBool

func StrToBool(str string, defaultVal bool) bool

func StrToInt

func StrToInt[T int | int8 | int16 | int32 | int64](str string, base, bitSize int, defaultVal T) T

func StrToSlice

func StrToSlice(strs ...string) []string

func StrToUint

func StrToUint[T uint | uint8 | uint16 | uint32 | uint64](str string, base, bitSize int, defaultVal T) T

Types

This section is empty.

Jump to

Keyboard shortcuts

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