Jim McGivney <mc******@nospam.winid.com> wrote:
Does anyone know of a concise article that covers string manipulation, such
as insert, join, pad, etc.
I don't, but the basics are:
o Strings themselves are immutable. All the operations such as
Substring, PadLeft, PadRight etc return a reference to a *new* string
with the appropriate data in.
o To avoid making multiple copies of data, if you're doing lots of
operations without needing the intermediate results as strings,
consider using a StringBuilder.
--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too