String interpolation on an existing String
I receive a string out of a Database. Say like "Hello {Name}" which is safed in the variable x
I know want to use string interpolation on that string
I know this works
Result would be hello Peter
What I want to do is this
With the same result
Is this even possible?
4 Replies
you can use string.Format
Windows10CE#8553
REPL Result: Success
Result: string
Compile: 438.734ms | Execution: 29.681ms | React with ❌ to remove this embed.
forgot you need explicit numbers for format
but you can't grab the values of random variables
thank u appreciate it