Here’s a small class that does string substitution, inspired by printf function in C. You can pass an Object into the function and it will search and replace the content of stringwith values of the objects. Parameters: stringFormat is a String object that you want to fill with replacements. substituteData is an Object containing the […]