golang ข้อความแบ่ง
s := strings.Split("a,b,c", ",")
golang ค้นหาในข้อความ
// 1. Contains
res := strings.Contains(str, substr)
fmt.Println(res) // true
golang แบ่งช่องว่าง
someString := "one two three four "
words := strings.Fields(someString)
fmt.Println(words, len(words)) // [one two three four] 4