Hi....
How to replace collection value like i have some value in string i want to replace it . Please define how to replace collection value?
Collection
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
VulpesRank #55 · 29.2K reputationPosted Aug 25, 2014, 9:24 AM EDT
http://msdn.microsoft.com/en-us/library/system.string.replace(v=vs.110).aspx
For example:
string s = "abcabc";
s = s.Replace("abc", "def"); // string is now "defdef"