public Split ( string input, uint limit = uint.MaxValue ) : |
||
input | string | The string to split. |
limit | uint | The maximum number of array items to return. Defaults to unlimited. |
Résultat |
/// <summary> /// Splits this string into an array of strings by separating the string into substrings. /// </summary> /// <param name="regExp"> A regular expression that indicates where to split the string. </param> /// <param name="limit"> The maximum number of array items to return. Defaults to unlimited. </param> /// <returns> An array containing the split strings. </returns> public static ArrayInstance Split(string thisObject, RegExpInstance regExp, [DefaultParameterValue(uint.MaxValue)] uint limit = uint.MaxValue) { return regExp.Split(thisObject, limit); }
/// <summary> /// Splits this string into an array of strings by separating the string into substrings. /// </summary> /// <param name="regExp"> A regular expression that indicates where to split the string. </param> /// <param name="limit"> The maximum number of array items to return. Defaults to unlimited. </param> /// <returns> An array containing the split strings. </returns> public static ArrayInstance Split(string thisObject, RegExpInstance regExp, [DefaultParameterValue(uint.MaxValue)] uint limit = uint.MaxValue) { return(regExp.Split(thisObject, limit)); }
/// <summary> /// Splits this string into an array of strings by separating the string into substrings. /// </summary> /// <param name="thisObject"> The string that is being operated on. </param> /// <param name="regExp"> A regular expression that indicates where to split the string. </param> /// <param name="limit"> The maximum number of array items to return. Defaults to unlimited. </param> /// <returns> An array containing the split strings. </returns> public static ArrayInstance Split(string thisObject, RegExpInstance regExp, uint limit = uint.MaxValue) { return(regExp.Split(thisObject, limit)); }
/// <summary> /// Splits this string into an array of strings by separating the string into substrings. /// </summary> /// <param name="thisObject"> The string that is being operated on. </param> /// <param name="regExp"> A regular expression that indicates where to split the string. </param> /// <param name="limit"> The maximum number of array items to return. Defaults to unlimited. </param> /// <returns> An array containing the split strings. </returns> public static ArrayInstance Split(string thisObject, RegExpInstance regExp, uint limit = uint.MaxValue) { return regExp.Split(thisObject, limit); }