Contains Substring

Examples Filter
var str = "Hello world, welcome to the universe.";
console.log(str.includes("world"));
console.log(str.includes("pig"));
package main

import (
    "fmt"
    "strings"
)

func main() {
    fmt.Println("Contains:  ", strings.Contains("test", "es"))
}
Last Run  :
Contains:   true