StringForm withStringForm
with named arguments
In python, this is possible:
example:
a = "{x}, {y}".format(x=5, y=12) print(a)
a = "{x}, {y}".format(x=5, y=12)
print(a)
result:
5, 12
In MathematicaMathematica, I used
StringForm ["``,``",5,12]
StringForm ["``,``",5,12]
but I couldn't use named arguments.
Is there any way to do this in MathematicaMathematica? like a :
StringForm ["`x`,`y`",x->5, y->12]
StringForm ["`x`,`y`",x->5, y->12]