It used to be included - you'd have to check the current syllabus to be sure. Anyway, the explanation of how format strings work is found in the
java.lang.Formatter class documentation (follow the link).
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com