remove method

StringBuilder remove(
  1. int startIndex,
  2. int length
)

Implementation

StringBuilder remove(int startIndex, int length) {
  str = str.substring(0, startIndex) + str.substring(startIndex + length);
  return this;
}