infatuated
0
Q:

c sharp string replace

// 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!"
13
string = "Mama mia!".Replace("mia!","lovely weather we're having.");
1

New to Communities?

Join the community