Re: tab to spaces conversion
Quote:
Originally Posted by KevinHall
First of all, please use CODE tags:
Secondly, the call to stripWhiteSpace isn't entirely helpful as it removes white space from the beginning of the string. Unnecessary white space at the end of the string likely won't matter as it won't really be visible in the control. In my opinion, I'd remove that call.
Thirdly, have you set font in the control to a fixed-sized font? If not, then (as many people have said before) trying to replace tabs with spaces will be very unsuccessful.
- Kevin
yes the font is decided by the user & it is fixed-sized font
Re: tab to spaces conversion
Did the source system, the one on which the text all appeared lined up, also used the fixed size font? What is the name of the font?