Strings / Find string in another string / Essentia

Run Settings
LanguageGo
Language Version
Run Command
package main import ( "fmt" "strings" ) func main() { s := "hello and second hello" toFind := "hello" idx := strings.LastIndex(s, toFind) fmt.Printf("when searching from end, '%s' is in s at position %d\n", toFind, idx) }
Editor Settings
Theme
Key bindings
Full width
Lines