Hi, I have a string
string str ="Enter {0} patient name";
So I am using using string.format to format that.
String.Format(str, "Hello");
Now if i want patient also to be retireved from some config then i need to change str something like "Enter {0} {1} name". So it will replace the {1} with second value. the problem for me is that i want instead of {1} some toher format something like {pat}. But when i try to use it throws an error. The reason i want a diff format is that there r lot of files I need to change like this(which may contian {0},{1} etc). So I need a custom placeholder which can be replaced @ runtime.