string s = " Bob Loves Alice "
string[] allwords = s.Split(new char[] { ' ' }, StringSplitOptions.RemoveEmptyEntries);