StringBuf
You are viewing an old version of this entry, click here to see latest version.
class StringBufAvailable in flash, flash9, neko, js, php, cppA String buffer is an efficient way to build a big string by appending small elements together.
function new() : VoidCreates a new string buffer.
function add( ?x : Dynamic ) : VoidAdds the representation of any value to the string buffer.
function addChar( c : Int ) : VoidAdds a character to the string buffer.
function addSub( s : String, pos : Int, ?len : Int ) : VoidAdds a part of a string to the string buffer.
function toString() : StringReturns the content of the string buffer. The buffer is not emptied by this operation.
version #6571, modified 2009-07-26 17:48:37 by api
0 comment