// get possible split set by replacing hyphen with space protected internal static string GetSplitByPunc(string inWord, char puncChar) { char[] temp = inWord.ToCharArray(); for (int i = 0; i < temp.Length; i++) { if (temp[i] == puncChar) { temp[i] = ' '; } } string splitStr = TermUtil.Trim(new string(temp)); return(splitStr); }