Split() 공개 메소드

Splits the given string into an array of strings by separating the string into substrings.
public Split ( string input, uint limit = uint.MaxValue ) : ArrayInstance
input string The string to split.
limit uint The maximum number of array items to return. Defaults to unlimited.
리턴 ArrayInstance
예제 #1
0
 /// <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);
 }
예제 #2
0
 /// <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));
 }
예제 #3
0
 /// <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));
 }
예제 #4
0
 /// <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);
 }