cherryString

package
v0.0.0-...-7d1f701 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CutLastString

func CutLastString(text, beginChar, endChar string) string

CutLastString 截取字符串中最后一段,以@beginChar开始,@endChar结束的字符 @text 文本 @beginChar 开始

func IsBlank

func IsBlank(value string) bool

func IsNotBlank

func IsNotBlank(value string) bool

func SplitIndex

func SplitIndex(s, sep string, index int) (string, bool)

func ToInt

func ToInt(value string, def ...int) (int, bool)

func ToInt32

func ToInt32(value string, def ...int32) (int32, bool)

func ToInt32D

func ToInt32D(value string, def ...int32) int32

func ToInt64

func ToInt64(value string, def ...int64) (int64, bool)

func ToInt64D

func ToInt64D(value string, def ...int64) int64

func ToIntD

func ToIntD(value string, def ...int) int

func ToString

func ToString(value interface{}) string

func ToStringSlice

func ToStringSlice(val []interface{}) []string

func ToUint

func ToUint(value string, def ...uint) (uint, bool)

func ToUintD

func ToUintD(value string, def ...uint) uint

Types

This section is empty.

Jump to

Keyboard shortcuts

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