I'm planning to print the contents of a csv text file

The data is in a number of rows and columns and I've put the whole lot into a 2 dimensional array, and found out which are the widest columns.

Now I want to print my array.

I need to left align text and right align numbers. I can work out which one I need using isNumeric().

How can I get my columns to align how I want them to?

H