Question
1
Replies
159
Views
Posted: June 4, 2018
Last activity: June 5, 2018
Closed
Solved
openspan - if formatstring contains '{' error - Input string was not in a correct format
I am using string utils Format method.
If format string contains '{'. i am getting error 'Input string was not in a correct format'
FormatString text - "{ Hi {0}}"
***Moderator Edit: Vidyaranjan | Updated Categories***
You need to use a double {{ or }} to escape one of them if you want them to appear in your format string. You might also use the Concat method as that is simpler (it just concatenates a number of string together in order).