AI智能
改变未来

go的字符串分隔


s:=“CONFIRMED, COMPLETED”
sep:=\”,\”
arr:=strings.Split(s,sep)
fmt.Println(arr)

赞(0) 打赏
未经允许不得转载:爱站程序员基地 » go的字符串分隔