The strings package provides basic functions to manipulate Unicode strings in Go. Use strings.Contains to check for substrings or strings.Split to divide a string by a delimiter.
package main
import (
"fmt"
"strings"
)
func main() {
s := "hello world"
fmt.Println(strings.Contains(s, "world")) // true
fmt.Println(strings.Split(s, " ")) // [hello world]
}