Returns a new character array object containing the specified string buffer.
Syntax
getChars( stringbuffer , number1 , number2 , chararray , number3 )
stringbuffer.getChars( number1 , number2 , chararray , number3 )
Parameters
stringbuffer
|
the stringbuffer object to copy from.
|
number1
|
the starting offset into the stringbuffer object.
|
number2
|
the ending offset into the stringbuffer object.
|
chararray
|
the character array to copy into.
|
number3
|
the starting offset into the chararray object.
|
Returns
Notes
Example
sb.getChars( 0 , sb.length( ), charArray, 0 )
|