Or another thought - perhaps you are looking for *adjacent* repeats only?

In that case strings.Count doesn't help because it counts all occurrences, 
not just adjacent ones.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/466d74d0-ab8c-41bc-8622-3412a4229e6bo%40googlegroups.com.

Reply via email to