Given the string
string command = "%ans[1]%*100/%ans[0]%"
Will replace to %ans[1]% to array[1] %ans[0]% to array[2]
How do I substitute the place holders in command
with the values in the array to get the following result? Should I use Regular Expressions for this?
And using Regex.Replace ?
"test2*100/test1"