If you are trying to display this, write a converter. syntax - just take an example, rename it something like "tabstoptexttospacedtextconverter", add a link to your local controls in app.xaml, then create an instance and give it the name x :, Bind the data for your text box and assign it a new converter.
This will be a bit of a hassle, because you will need to determine the appropriate width of the final TB screen, and then probably use the converter configurator to do this job. But the long story is short, broken by \ t, then foreach (the str line in splitSourceText) does something like this:
for (int i = 0; i < (str.Length % 8 > 0 ? str.Length % 8 : 8); i++) str+= " ";
You can limit the characters in arrays of separated strings to a parameter or first split into \ r \ n.
source share