>Don't think so. The string is only being re-assigned once - I don't think Replace() creates any intermediary strings.
It has been my findings before that manipulating a very large string requires a stringbuilder. This was discovered when I do the parsing here for each message. Some of them contains some very big content and using a string was very too slow.