I need help with formatting a string that gets passed in from the command line argument. So when I type
java Main "Tassimo T46 Home Brewing System|43-0439-6|17999|0.30:Moto Precise Fit Rear Wiper Blade|0210919|799|0.0: Easton Stealth Reflex Composite Hockey Stick| 83-4567-0|8999|0.5:Yardworks 4-Ton Log Splitter|60-3823-0|39999|0"
So it should be formatted displaying the name followed by several spaces then the integers followed by another few spaces then the second part of the integers then spaces followed by the decimal.
example
coffee 123456 199999 0.30
using String.format`.