字符串操作Split

字符串操作:
string str ="qwewq i lobe me you?you me";     
str.Split(new char[] { ' ', '.', '?' },StringSplitOptions.RemoveEmptyEntries).Length;

说明:
参数1:以' ', '.', '?'字符分割str,
参数2:是否返回空字符串。

原文地址:https://www.cnblogs.com/zhubenxi/p/5168349.html