In theory simple thing but I can't find the answer.
Let's assume we have the String:
"Today at ? cars yellow: ? cars red: ? cars black ?"
And now I want to create to execute some function X
in the following way:
X("Today at ? cars yellow: ? cars red: ? cars black", value1, value 2, value 3, value 4)
to get as result the string:
"Today at 12:00 cars yellow: 123 cars red: 11 cars black 24"
Is there any X
function ready to be used from the shelf? If not how to write my own?