Here is the logic.
const string strVar = “tsr ”;
// We must assign the result to a variable.
// ... Every instance is replaced.
string v = strVar.Replace("tsr ", "9447.00");
Output
tsr
9447.00
Here is the logic.
const string strVar = “tsr ”;
// We must assign the result to a variable.
// ... Every instance is replaced.
string v = strVar.Replace("tsr ", "9447.00");
Output
tsr
9447.00