Oh that post is a blast from the past! I still don’t recommend ASCI character usage as it rarely scales outside of your current application. All it takes is one person to not have that font.
For your problem, I am not 100% sure what you are after. I think you want to split a multi-line text element into multiple elements. Not sure how far down the rabbit hole you want to go (new lines when the word wrap runs long? Just split at the existing new line marker in the multi line text element? Something else?), but this process description should help you work out what needs to happen.
You can split the string from existing multi line text at new line markers by a String.Split node, using a string with just a new line marker (return or enter in your keyboard).
To calculate new lines due to intermediate line wraps you could use an assumed character width (measure it as it will be based on your font configuration), find the index of all spaces in the sublists if strings, multiply that by the assumed width value to get a ‘length at string’ and set up a means of setting additional line breaks by splitting the string at the space before the division having a new line value. Flatten that list completely so it’s 2D.
Then sum your text height and spacing between lines to get a point offset distance, and count the number of strings in your string list. Build a range from
0..#StringCount..-PointOffsetDistance;, and use that as a Y value for a Vector.ByCoordinates with an X and Z value of 0.
Next find your initial insertion point of the text, and translate that by your vector.
You can now use a TextNote.ByPoint node to place a new text note, in the view (assuming you can gather this on your own), at the points in the point list, with the values in the strings list, and the other miscellaneous adjustments you desire.