public String ReplaceWholeWord(String s, String word, String bywhat) { char firstLetter = word[0]; StringBuilder sb = new StringBuilder(); bool previousWasLetterOrDigit = false; int i = 0; s = s + " "; while (i < s.Length - word.Length + 1) { char ch = '~'; if (!string.IsNullOrEmpty(Convert.ToStr...