Mega Code Archive

 
Categories / JavaScript Reference / Javascript Methods
 

Split() Syntax, Parameters and Note

Note: Uses the specified delimiter to split the String into an array of String.      Syntax:      stringName.split(param1, param2) Parameters:     param1   Required; the delimiter to use.     param2   Optional; the maximum number of elements to return in the array.