string

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: May 3, 2023 License: MIT Imports: 0 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Count added in v0.0.13

func Count(s string, c byte) int

Count 查询字符串中出现某个字符的次数

func Has

func Has(s string, c byte) bool

Has 判断字符串是否存在某个字符

func IsPrefix

func IsPrefix(s string, prefix string) bool

IsPrefix 判断字符串是否存在某个前缀

func IsSuffix

func IsSuffix(s string, suffix string) bool

IsSuffix 判断字符串是否存在某个后缀

Types

This section is empty.

Jump to

Keyboard shortcuts

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