Golang strconv和strings 常用方法
package mainimport ( "fmt" "strings" "strconv")func main() { //1).长度 var str01 string = "hello" fmt.Println("str01长度: ",len(str01)) //5 fmt.Println("str01长度: ",len("world 哈哈")) /