var str = "a/b/c/d/c"
            // I want remove last chracter from str
            var strRunes = []rune(str)
            var newStrRunes = strRunes[0 : len(strRunes)-1]
            // then I want get last index of chracters `/c`, I need convert 
to string back!???
            strings.LastIndex(string(newStrRunes), "/c")
            // Does there have a method that LastIndex(rs []rune, s string)

Thanks for your help!

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to