Currently in my application I have a string that is read in from an XML file however the whole string is concatenated together and I want to be able to split up the string over multiple lines of the 'RichTextBox' at specific points that I choose in the XML node for that string.
For example my string before formatting as it sits in the XML node:
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus eleifend arcu vel tellus aliquam eget aliquet orci dignissim. Integer volutpat congue elementum. In commodo porta sem. Phasellus commodo consectetur hendrerit. Integer bibendum consequat elit nec ultricies. Fusce facilisis elit in justo facilisis sagittis. Aenean eget risus placerat dui hendrerit pharetra sed in neque. Maecenas vehicula iaculis lectus eget scelerisque. Fusce sed consequat elit.
The result I desire after formatting in my application:
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus eleifend arcu vel tellus aliquam eget aliquet orci dignissim. Integer volutpat congue elementum. In commodo porta sem.
Phasellus commodo consectetur hendrerit. Integer bibendum consequat elit nec ultricies. Fusce facilisis elit in justo facilisis sagittis.
Aenean eget risus placerat dui hendrerit pharetra sed in neque. Maecenas vehicula iaculis lectus eget scelerisque. Fusce sed consequat elit.
Is it possible to split up one long concatenated string over multiple lines like this for a 'RichTextBox' by including the formatting directly within the XML node / string itself rather than hard coding where each new line needs to be?