Please can anyone advise me on how i can replace a particular ch开发者_JS百科aracter from a 2 mb string without using replace function in .NET
Thanks
You should have a look at some of the solutions discussed here:
Memory Efficiency and Performance of String.Replace .NET Framework
It mentions the use of Regex.Replace
and StringBuilder.Replace
精彩评论