private string Formatting(string str, bool ignored = false) { str = str .Replace(".", "") .Replace(",", "") .Replace("!", "") .Replace("?", "") .Replace("-", "") .Replace(":", "") .Replace(";", "") .Replace(")", "") .Replace("(", ""); if (ignored) { string[] split = str.Split(new Char[] { ' ' }); string newstr = string.Empty; foreach (string word in split) { if (_sqlHand.GetBoltunData(Mode.NOLIKE, str, "IGNORED") == string.Empty) { str += word + " "; } } return(newstr); } return(str); }