Format fixed-format text file lines
- by EugeneP
there's a text file
first second third
1 2 3
yes no ok
hmmmmmmm yep_a_long_word_it_is ahahahahahahha
what java functions /libs to use to align words so that they are looked like this (fixed width based on the longest column's length), let's say center align:
first second third
1 2 3
yes no ok
hmmmmmmm yep_a_long_word_it_is ahahahahahahha