StringBuffer.setCharAt
Class Overview | Class Members |
This Package |
All Packages
public synchronized void setCharAt( int index,
char ch )
Parameters
- index
- the index of the character to modify.
- ch
- the new character.
Description
The character at the specified index of this string buffer is set
to ch.
The offset argument must be greater than or equal to
0, and less than the length of this string buffer.
Exceptions
StringIndexOutOfBoundsException
if the index is invalid.
See Also
length