Re: StringBuilder Extension: IsQuotedBy
Brady Kelly <[email protected]> Fri, 15 Feb 2008 17:55:27 +0200
| Newsgroups | gmane.comp.windows.devel.dotnet.clr |
|---|---|
| Message-ID | <[email protected]> |
The problem is not just to remove the delimiter quotes, it is also to conditionally remove other pieces of the input, so for each input string, if I were to say currentToken = currentToken.Replace(...), up to three or four string creations would take place, without a mutable StringBuilder. ... > Just look at the original topic. The problem is to find surrounding > delimiters and remove them. This can all be done easily with no > allocation. Why would it be necessary to reverse the delimiter quote > by creating a StringBuilder ? I don't want to nitpick on this > particular "outlook compiled" code, but you see my point I hope. ... > Sébastien =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com