Sets the length of the specified string buffer object.
Syntax
setLength( stringbuffer , number )
stringbuffer.setLength( number )
Parameters
stringbuffer
|
the stringbuffer object to use.
|
number
|
the new length of the given stringbuffer object.
|
Returns
Example
sb.setLength( nLength )
|