I have a string which have 3 '\t's and when I use the proper methods like:
string.padright(totalWidth);
Or
string.format("{0,width}",myText);
Or even a function from scratch, I get a problem with that '\t' escape in the string which counts one but depend on a string, it's between 0 to 8.
At the end, if I have this string "blah\tblah\tblah" and I apply those methods to have a 20 length string I get this
"blah blah blah "
which has a length of 30.
How can I count the spaces that '\t' fills after the string is displayed?