Examples using... strings.LastIndex()

Recent
LastIndex returns the index of the last instance of substr in s, or -1 if substr is not present in s.