Class StringBuff |
This class is a way around Icon's inefficiency in concatenating long strings. It creates a list of strings which it then concatenates all at once in a loop which takes advantage of an Icon optimization.
Details |
Constructor |
Methods: |
Add the string to the buffer list.
Discard the last element of the buffer if it equals the given string.
Get the buffer list of strings.
Get the string catenation of the strings in the buffer. @param sep A separator to add between the strings (default is the empty @ string.
Fields: |