What ways can you create a string with 2000 "spaces"
For various reasons I am trying to set a string to 2000 spaces. Currently I am using: String s = String.format("%1$-2000s"," "); This is great for Java 5, however, some of the developers in our department are using 1.4 and this does not work. I was wondering, are any other ways of achieving the same result? I know I can do things l...