Check out example codes for "c sharp string replace". It will help you in understanding the concepts better.

Code Example 1

// You can use the function 'Replace()' to replace all instances
// of a string or character with a given string or character.
str  = "Hello World!"
str.Replace('o', 'e');
// Output: "Helle Werld!"

Learn ReactJs, React Native from akashmittal.com