insert method

StringBuilder insert(
  1. int index,
  2. String value
)

Implementation

StringBuilder insert(int index, String value) {
  str = str.substring(0, index) + value + str.substring(index);
  return this;
}