StringBuf

class StringBufAvailable in flash8, flash, 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. inline function addChar( c : Int ) : VoidAdds a character to the string buffer. inline function addSub( s : String, pos : Int, ?len : Int ) : VoidAdds a part of a string to the string buffer. inline function toString() : StringReturns the content of the string buffer. The buffer is not emptied by this operation.
version #13569, modified 2012-04-12 22:32:53 by api

0 Comments