TypeScriptStringsplit

Divides a String into an ordered list of substrings.

Syntax

str.split(separator, limit?): string[]