String insert(int index, String divider) { return substring(0, index + 1) + divider + substring(index + 1); }