开发者

replace a character in string without using replace function in .NET

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜