String.append()
Signature
Object append(Object stringBuffer, String stringToAppend)
Domain
ACTION, CONDITION, QUERY, BUI
Description
Appends the specified string to the character sequence.
The characters of the String argument are appended, in order, increasing the length of this sequence by the length of the argument.
If the string argument is null, then the four characters "null" are appended.
Let n be the length of the character sequence prior to execution of the append method.Then the character at the index k in the new character sequence is equal to the character at the index k in the old character sequence, if k is less than n. If k is greater than n then the character at index k is equal to the character at index k-n in the argument string.
Parameters
Name | Type | Description |
stringBuffer | Object | The buffer created using createBuffer |
stringToAppend | String | The string to append. |
Cautions
Buffer parameter should not be null.
See Also
Object createBuffer(int size)