Consider the following example.
string s = "The man is old. Them is not bad.";
If I use
s = s.Replace("The", "@@");
Then it returns "@@ man is old. @@m is not bad."
But I want the output to be "@@ man is old. Them is not bad."
How can I do this?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…