I have a dialog box (just a RichTextLabel) that I would like to output continuous bbcode text to. As another line of text comes in, the log starts a newline /n and adds the next line.
It works fine. I continuously load the separate strings into an array. Whenever a new string item is added to the array, I concatenate each string into one string (we will call it log) and update the label.
I am worried when I have a few dozen or a few hundred lines of text, if that final concatenated string (log) will be able to store all the information. I am not sure the string size limitation on a 64bit device, but regardless of the max, I know it is there.
The only solution I can imagine is to chop the log at size x by popping off the earliest array entries one by one.
Thanks for the additional insight/ideas.