Formatting java command line output - Multi line string
Is it possible to format output of a string across multiple lines. Writting a script in java that's going to output information to the user in the command line (Max width 80 characters). Some of my strings are longer that 80 character and want to display them accross multiple lines. Won't be using a db. bad example below, sorry!!!
Name Age Address Active
____ ___ ______ _____
John 24 No .1 The Yes
Paul 26 unknown No
Is this format possible with printf formatter?
thanks in advance..