Strings / Find string in another string / Essentia

Run Settings
LanguageGo
Language Version
Run Command
package main import ( "fmt" "strings" ) func main() { s := "this is string" toFind := "string" if strings.HasSuffix(s, toFind) { fmt.Printf("'%s' ends with '%s'\n", s, toFind) } else { fmt.Printf("'%s' doesn't end with '%s'\n", s, toFind) } }
Editor Settings
Theme
Key bindings
Full width
Lines