haXe API Documentation
Back |
Indexclass StringBuf
Available in flash, neko, js, flash9, php, cpp
A String buffer is an efficient way to build a big string by
appending small elements together.
- function new() : Void
Available in flash, js, flash9, cpp
-
Creates a new string buffer.
- function new() : Void
Available in neko, php
- inline function add(?x : Dynamic) : Void
-
Adds the representation of any value to the string buffer.
- inline function addChar(c : Int) : Void
-
Adds a character to the string buffer.
- inline function addSub(s : String, pos : Int, ?len : Int) : Void
-
Adds a part of a string to the string buffer.
- inline function toString() : String
-
Returns the content of the string buffer.
The buffer is not emptied by this operation.
Back |
Index