Is it possible to inject variable values into strings without knowing the order?
I'm familiar with
"% world" % "Hello"
syntax, but is there anything comparable to
string = "Order id %{order.id}, price: %price" % (price, order)
I'm asking because I'd like to have a list of strings with inconsistant use of variables, and their placement, and I want to substitute them all inside of a function.