str

var str: String?

points to the character data. It may move as text is added. The @str field is null-terminated and so can be used as an ordinary C string.