Created
February 27, 2018 07:50
-
-
Save vldvel/da27ea961faf829d89165597a1b01603 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| string.split([param1[, param2]]); // All params are optional | |
| // param1 - String or RegExp | |
| // param2 - Number | |
| // EXAMPLE | |
| 'ABCDEF'.split(); // ['ABCDEF'] | |
| 'ABCDEF'.split('CD'); // ['AB', 'EF'] | |
| 'ABCDEF'.split('CD', 1); // ['AB'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment