|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
Object | +--StringBuffer
This class can be used to create a string from multiple substrings. It seems to be faster then creating a string the following way:
var s = " mary " + "had " + "a " + "little " + "lamb";
| Field Summary | |
var |
text
|
| Constructor Summary | |
StringBuffer
()
|
|
| Method Summary | |
function
|
clear()
Clears the string buffer. |
function
|
toString()
Returns a string representation of the string buffer content. |
function
|
write(str)
Appends a string to the string buffer. |
| Field Detail |
var text
| Constructor Detail |
function StringBuffer()
| Method Detail |
function clear()
function toString()
function write(str)
str - String to append.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||