110,537
社区成员
发帖
与我相关
我的任务
分享
//
// 摘要:
// Returns a string array that contains the substrings in this instance that are
// delimited by elements of a specified Unicode character array.
//
// 参数:
// separator:
// An array of Unicode characters that delimit the substrings in this instance,
// an empty array that contains no delimiters, or null.
//
// 返回结果:
// An array whose elements contain the substrings in this instance that are delimited
// by one or more characters in separator. For more information, see the Remarks
// section.
public String[] Split(params char[] separator);
//
// 摘要:
// Returns a string array that contains the substrings in this string that are delimited
// by elements of a specified Unicode character array. A parameter specifies whether
// to return empty array elements.
//
// 参数:
// separator:
// An array of Unicode characters that delimit the substrings in this string, an
// empty array that contains no delimiters, or null.
//
// options:
// System.StringSplitOptions.RemoveEmptyEntries to omit empty array elements from
// the array returned; or System.StringSplitOptions.None to include empty array
// elements in the array returned.
//
// 返回结果:
// An array whose elements contain the substrings in this string that are delimited
// by one or more characters in separator. For more information, see the Remarks
// section.
//
// 异常:
// T:System.ArgumentException:
// options is not one of the System.StringSplitOptions values.
[ComVisible(false)]
public String[] Split(char[] separator, StringSplitOptions options);
//
// 摘要:
// Returns a string array that contains the substrings in this string that are delimited
// by elements of a specified string array. A parameter specifies whether to return
// empty array elements.
//
// 参数:
// separator:
// A string array that delimits the substrings in this string, an empty array that
// contains no delimiters, or null.
//
// options:
// System.StringSplitOptions.RemoveEmptyEntries to omit empty array elements from
// the array returned; or System.StringSplitOptions.None to include empty array
// elements in the array returned.
//
// 返回结果:
// An array whose elements contain the substrings in this string that are delimited
// by one or more strings in separator. For more information, see the Remarks section.
//
// 异常:
// T:System.ArgumentException:
// options is not one of the System.StringSplitOptions values.
[ComVisible(false)]
public String[] Split(String[] separator, StringSplitOptions options);
//
// 摘要:
// Returns a string array that contains the substrings in this instance that are
// delimited by elements of a specified Unicode character array. A parameter specifies
// the maximum number of substrings to return.
//
// 参数:
// separator:
// An array of Unicode characters that delimit the substrings in this instance,
// an empty array that contains no delimiters, or null.
//
// count:
// The maximum number of substrings to return.
//
// 返回结果:
// An array whose elements contain the substrings in this instance that are delimited
// by one or more characters in separator. For more information, see the Remarks
// section.
//
// 异常:
// T:System.ArgumentOutOfRangeException:
// count is negative.
public String[] Split(char[] separator, int count);
//
// 摘要:
// Returns a string array that contains the substrings in this string that are delimited
// by elements of a specified Unicode character array. Parameters specify the maximum
// number of substrings to return and whether to return empty array elements.
//
// 参数:
// separator:
// An array of Unicode characters that delimit the substrings in this string, an
// empty array that contains no delimiters, or null.
//
// count:
// The maximum number of substrings to return.
//
// options:
// System.StringSplitOptions.RemoveEmptyEntries to omit empty array elements from
// the array returned; or System.StringSplitOptions.None to include empty array
// elements in the array returned.
//
// 返回结果:
// An array whose elements contain the substrings in this string that are delimited
// by one or more characters in separator. For more information, see the Remarks
// section.
//
// 异常:
// T:System.ArgumentOutOfRangeException:
// count is negative.
//
// T:System.ArgumentException:
// options is not one of the System.StringSplitOptions values.
[ComVisible(false)]
public String[] Split(char[] separator, int count, StringSplitOptions options);
//
// 摘要:
// Returns a string array that contains the substrings in this string that are delimited
// by elements of a specified string array. Parameters specify the maximum number
// of substrings to return and whether to return empty array elements.
//
// 参数:
// separator:
// A string array that delimits the substrings in this string, an empty array that
// contains no delimiters, or null.
//
// count:
// The maximum number of substrings to return.
//
// options:
// System.StringSplitOptions.RemoveEmptyEntries to omit empty array elements from
// the array returned; or System.StringSplitOptions.None to include empty array
// elements in the array returned.
//
// 返回结果:
// An array whose elements contain the substrings in this string that are delimited
// by one or more strings in separator. For more information, see the Remarks section.
//
// 异常:
// T:System.ArgumentOutOfRangeException:
// count is negative.
//
// T:System.ArgumentException:
// options is not one of the System.StringSplitOptions values.
[ComVisible(false)]
public String[] Split(String[] separator, int count, StringSplitOptions options);