StringBuf
You are viewing an old version of this entry, click here to see latest version.
class StringBufAvailable in flash, neko, jsA 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 #1032, modified 2008-05-02 19:19:20 by api
0 comment