Documentation
¶
Index ¶
- func GetLine(in string, n int) string
- func IsInArray(a []string, s string) bool
- func IsLowerChar(b byte) bool
- func IsNumeric(s string) bool
- func IsUpperChar(b byte) bool
- func Left(s string, n int, ellipsis ...string) string
- func LowerFirst(s string) string
- func RemoveUnprintable(s string) string
- func Replace(origin string, search string, replace string) string
- func ReplaceByMap(origin string, replaces map[string]string) string
- func SearchArray(a []string, s string) int
- func Text(v interface{}) string
- func UpperFirst(s string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RemoveUnprintable ¶
RemoveUnprintable 删除字符串中不可打印字符 (0 to 31 ASCII)
func ReplaceByMap ¶
ReplaceByMap 使用map进行字符串替换
func SearchArray ¶
SearchArray 数组查找字符串索引位置,如果不存在则返回-1,使用完整遍历查找
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.