Group consecutive characters together if they are equal.
List<String> groupString(String s) { return groupByString((a, b) => a == b, s); }