TK. TK. - 7 months ago 88
C# Question

C# string manipulation search and replace

I have a string which contain tags in the form

< tag >
. Is there an easy way for me to programmatically replace instances of these tags with special ascii characters? e.g. replace a tag like
"< tab >"
with the ascii equivelent of

string s = "...<tab>...";
s = s.Replace("<tab>", "\t");