Replaces the characters in the specified range with the contents of the specified string. @param start the inclusive begin index. @param end the exclusive end index. @param string the string that will replace the contents in the range. @return this buffer. @throws S
(int start, int end, String string)
| 671 | * the length of {@code s}. |
| 672 | */ |
| 673 | public synchronized StringBuffer replace(int start, int end, String string) { |
| 674 | replace0(start, end, string); |
| 675 | return this; |
| 676 | } |
| 677 | |
| 678 | /** |
| 679 | * Reverses the order of characters in this buffer. |