What's the "standard" way of replacing a character in a string?
Obviously, I can't say "myString[index] = character;" because strings
are immutable...
So what would be the "standard" way of doing this?
If you want to change one character with another one
use String.Replace
If you want to change one char at a certain index
use String.ToCharArray, do your change, then construct a new string from it
(not the most efficient way)
If it is necessary to modify the actual contents of a string-like object, use
the System.Text.StringBuilder class.
--
Mihai
-------------------------
Replace _year_ with _ to get the real email