Language GuideBuilt-in TypesStringMethodssplitOn this pagesplitTokenizes the string into an array of substrings by using the specified pattern. "This is some example text".split(" "); // [ "This", "is", "some", "example", "text" ] Syntax toupper(separator) Returns An array containing the substrings.