I am being asked to put a table in the body of an email
message. Everything should line up nicely in columns.
The data comes from an unformated string. Ex
Customer, Part, DateStart, DateEnd, Discount.
Of course the length of each field varies so it does not look like a table. ex
Greg Marmalardoski abc Jan02 Mar02 7%
Mandy Pepridge abc Jan02 Mar02 8%
Any suggestions on how to line up everything evenly in columns?
All I can come up with is counting characters in each field and adding spaces to the string. ( ughhh)
I realize there are other ways via attachments but I am responding to a very specific user request.
Any comments welcome. Thanks!
message. Everything should line up nicely in columns.
The data comes from an unformated string. Ex
Customer, Part, DateStart, DateEnd, Discount.
Of course the length of each field varies so it does not look like a table. ex
Greg Marmalardoski abc Jan02 Mar02 7%
Mandy Pepridge abc Jan02 Mar02 8%
Any suggestions on how to line up everything evenly in columns?
All I can come up with is counting characters in each field and adding spaces to the string. ( ughhh)
I realize there are other ways via attachments but I am responding to a very specific user request.
Any comments welcome. Thanks!