Does it need a String object or a character array? If the later is true, us sprintf() with a single buffer for these things. Using the String class for this purpose is not as memory clobbering as using it for string manipulations (concatenating and the like) but I try to avoid it if ever possible.