Deletes a range of characters. @param start the offset of the first character. @param end the offset one past the last character. @return this StringBuffer. @throws StringIndexOutOfBoundsException if start < 0, start > end or {@code end >
(int start, int end)
| 365 | * length()}. |
| 366 | */ |
| 367 | public synchronized StringBuffer delete(int start, int end) { |
| 368 | delete0(start, end); |
| 369 | return this; |
| 370 | } |
| 371 | |
| 372 | /** |
| 373 | * Deletes the character at the specified offset. |