Appends the string representation of the given object to the specified string buffer object.
Syntax
append( stringbuffer , object )
stringbuffer.append( object )
append( stringbuffer , array , offset , length )
stringbuffer.append( array , offset , length )
Parameters
stringbuffer
|
the stringbuffer object to append to.
|
object
|
the object ( string, integer, double, object ) to append.
|
array
|
the character array to append.
|
offset
|
index of the first character to append.
|
length
|
the number of characters to append.
|
Returns
stringbuffer
|
the new stringbuffer object with the appended object.
|
Example
sb = StringBuffer( )
sb = sb.append( title )
|