开心

字符串操作Split

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

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

posted @ 2016-01-29 11:06  大喜  阅读(261)  评论(0编辑  收藏  举报
坦然 会增进信任 - 信任 感情才会升华