mIRC Home    About    Download    Register    News    Help

Print Thread
Help with spaces in a text file #27428 01/06/03 01:54 PM
Joined: Dec 2002
Posts: 18
T
TomT Offline OP
Pikka bird
OP Offline
Pikka bird
T
Joined: Dec 2002
Posts: 18
I have need to create a text file with mIRC. The file contains 3 'columns' of information. In the past I have used $str($chr(0160),%var) to pad the info in each column to cause the columns to align. Now I learn that the use of $chr(0160) is quite a problem for folks with some eastern language versions of Windows (2000 ,XP). Instead of a space they see nasty characters I have yet to find a way to reproduce mulitple spaces in mIRC easily.. any ideas?

Re: Help with spaces in a text file #27429 01/06/03 08:24 PM
Joined: Jan 2003
Posts: 3,012
KingTomato Offline
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
well, if you open the program in such programs as notepad and word pad you can use the tab character ( $chr(9) ) and do:
column $chr(9) column
This will align everything over. Then for output on a mirc screen, use $replace and remove a tabl, and replace with character 160.


-KingTomato