Description :

This method returns collection of substrings which are divided by seperator as a form of new array

Syntax :

string.split([Separator, Limit])

Input Parameters :

Seperator (Optional)
The string to be given to separate the given string as chunks. It can be chracter, number or string.

Limit (Optional)
The number to be passed to retrict the number of substrings

Return Values :

Returns new substring array divided by separator.

If both the parameters are omitted or if the separator value is not found in the given string, then it will return the complete string as single element array

Test this method :

More Parameters

Test Result :   
Your Code :