Created
March 16, 2024 13:58
-
-
Save xvbnm48/8f7a1064e968313a6e50b3aeb1c03a95 to your computer and use it in GitHub Desktop.
strings contains
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"strings" | |
) | |
func main() { | |
fmt.Println(strings.Contains("hira dazzle", "dazzle")) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment