String createString(Int len)
Arguments
len: The number of characters to allocate space for
Usage
Create an empty string, with initial space for len characters. Use this to avoid unnecessary reallocation if you know or can compute the length of a string in advance.
Using this function can save time and memory in Kaya programs, but generally the default memory allocation will be adequate - save this for the optimisation stage.