public toCharArray() as Char[]:
Returns the content as a character array.
A new array containing the builder characters.
builder = StringBuilderSync() builder.append("Hi") chars = builder.toCharArray() print(chars[0])