strrpos

strrpos

[code=golang]
package main

import (
	"fmt"
	"strings"
)

func main() {
	fmt.Println(strings.LastIndex("chicken", "c"))
}

[/code]