Geek In A Cube
(Notes To Myself)
Monday, March 7, 2011
Ignore Casing When Searching For A String
--use regex to search for string regardless of casing:
content = Regex.Replace(content, stringToReplace, replacementString,
RegexOptions.IgnoreCase);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment