摘要: 字符串切割 含多个空格 package main import( "fmt" "regexp" "strings" ) func main(){ s := " a b c d e " reg := regexp.MustCompile(`\s+`) array := reg.Split(string 阅读全文
posted @ 2020-05-07 11:35 枯藤老艹树 阅读(99) 评论(0) 推荐(0) 编辑