重载方法:- String.Split()方法有6个重载版本:
- public string[] Split(char[] separator)
- public string[] Split(char[] separator, int count)
- public string[] Split(char[] separator, StringSplitOptions options)
- public string[] Split(
- string[] separator, StringSplitOptions options)
- public string[] Split(
- char[] separator,
- int count,
- StringSplitOptions options
- )
- public string[] Split(
- string[] separator,
- int count,
- StringSplitOptions options
- )
复制代码 |