Returns the given string buffer containing the specified object inserted at the specified offset.
Syntax
insert( stringbuffer , number , object )
stringbuffer.insert( number , object )
Parameters
stringbuffer
|
the stringbuffer object to use.
|
number
|
the starting offset [ 0 , length - 1 ] into the stringbuffer object.
|
object
|
the object ( string, integer, double, object ) to insert.
|
Returns
stringbuffer
|
the new stringbuffer object with the inserted object.
|
Example
sb.insert( offset , "text" )
|