How do I format an arduino String when I do not want to print it?
I know that one can use printf() or other methods to print a formated string and unfortunately that's all I find with google.
But that's explicitly not what I'm looking for, I want to assign the formated string to a variable instead.
There are itoa, etc. which I could use, but if there is a standard function to use like String a=format("an integer: %i",myinteger); I would really prefer this one.
String s(32); s += "an integer: "; s += myinteger;