I\'m using NET 2.0 and WinForms.
Currently, I need a code to replace a string with another one in a given text, but in the text it should only look for whole words. What
Small workaround:
string name = @"COUNTER = $40 CLOCK_COUNTER = $60"; name=" "+name; name = name.Replace(" COUNTER ", " COUNT ");
Main idea that you have to mark the word you're going to replace with some sort of symbols that other words that you do not want to replace have not