Aqualuna wrote:I'm trying to format a string, any ideas on how I could do it?
You're trying to format an Integer, Double, Float, or whatever. However, you are not telling me, what you are trying to do, for example by pasting your format String.
Of course, String.format is a beast, some form of swiss knife. By using it, you would pull in several kilobytes of code and dependencies. Unfortunately, leJOS does not have very sophisticated methods of formatting floats and integers, simply because nobody has implemented it.
If you're just trying to assemble some basic String, without the need for any fancy formatting of numbers, use the StringBuilder class.