Sets the character at the specified offset to a given character in the given string buffer object.
Syntax
setCharAt( stringbuffer , number , string )
stringbuffer.setCharAt( number , string )
Parameters
stringbuffer
|
the stringbuffer object to use.
|
number
|
the index [ 0 , length - 1 ] of the character to change.
|
string
|
the first character in the string.
|
Returns
Example
sb.setCharAt( 0, char )
|