From http://stackoverflow.com/questions/3695230/how-to-use-java-string-format