10.01.2016, 02:35
This has already been done.
String library by Slice. "strlib"
The function you are looking for in there is "sprintf" and it works exactly as you suggested.
String library by Slice. "strlib"
The function you are looking for in there is "sprintf" and it works exactly as you suggested.