split golang code example
Example 1: golang string split
s := strings.Split("a,b,c", ",")
Example 2: golang find in string
// 1. Contains
res := strings.Contains(str, substr)
fmt.Println(res) // true
s := strings.Split("a,b,c", ",")
// 1. Contains
res := strings.Contains(str, substr)
fmt.Println(res) // true