G
graeme
Hello,
I get output from a webpage using javascript. The data is
formatted into rows and columns, padded out by spaces.
The data looks great as plain text(A), but when it's
pasted into Outlook it gets all messed up(B). Cut and
paste into Notepad to see the differences pls (no
wordwrap). Outlook appears to squash out all the spaces! :
(
A:
Ref. Time Filled Placed By Commodity
Account Quantity Currency Direction Commission
Price USD Price Prompt Date
2839 19-Aug-04 14:33:20 TESTDEV LME Nickel
TEST 1 USD Sell 1/12% inc
1000.00 19-Nov-04
2717 19-Aug-04 09:47:57 NEWMACCA LME Tin
END 10 USD Sell 2% inc
8820.00 30-Aug-04
2836 19-Aug-04 09:47:57 TESTDEV LME Tin
TEST 10 USD Buy 2% inc
8820.00 30-Aug-04
B:
Ref. Time Filled Placed By Commodity
Account Quantity Currency Direction Commission
Price USD Price Prompt Date
2839 19-Aug-04 14:33:20 TESTDEV LME Nickel
TEST 1 USD Sell 1/12% inc
1000.00 19-Nov-04
2717 19-Aug-04 09:47:57 NEWMACCA LME Tin
END 10 USD Sell 2% inc
8820.00 30-Aug-04
2836 19-Aug-04 09:47:57 TESTDEV LME Tin
TEST 10 USD Buy 2% inc
8820.00 30-Aug-04
What should I replace the spaces with when I'm padding out
column widths in my javascript?
Thanks
I get output from a webpage using javascript. The data is
formatted into rows and columns, padded out by spaces.
The data looks great as plain text(A), but when it's
pasted into Outlook it gets all messed up(B). Cut and
paste into Notepad to see the differences pls (no
wordwrap). Outlook appears to squash out all the spaces! :
(
A:
Ref. Time Filled Placed By Commodity
Account Quantity Currency Direction Commission
Price USD Price Prompt Date
2839 19-Aug-04 14:33:20 TESTDEV LME Nickel
TEST 1 USD Sell 1/12% inc
1000.00 19-Nov-04
2717 19-Aug-04 09:47:57 NEWMACCA LME Tin
END 10 USD Sell 2% inc
8820.00 30-Aug-04
2836 19-Aug-04 09:47:57 TESTDEV LME Tin
TEST 10 USD Buy 2% inc
8820.00 30-Aug-04
B:
Ref. Time Filled Placed By Commodity
Account Quantity Currency Direction Commission
Price USD Price Prompt Date
2839 19-Aug-04 14:33:20 TESTDEV LME Nickel
TEST 1 USD Sell 1/12% inc
1000.00 19-Nov-04
2717 19-Aug-04 09:47:57 NEWMACCA LME Tin
END 10 USD Sell 2% inc
8820.00 30-Aug-04
2836 19-Aug-04 09:47:57 TESTDEV LME Tin
TEST 10 USD Buy 2% inc
8820.00 30-Aug-04
What should I replace the spaces with when I'm padding out
column widths in my javascript?
Thanks