I've been having one heck of a time with this. I want to limit field width AND left justify these items. For example, in %2$-13s
I want to left justify this and limit the length to 13 characters. so if argument 2 is 15 characters long, it will only print 13 of those characters
result.setFormat(" %1$-25s %2$-13s %3$.5s %4$-7s %5$-9s %6$-10s %7$-5s "
+ "%8$-4s %9$-6s %10$-7s %11$-8s %12$-11s %13$-4s");
How do you do this?