Use the JavaScript String split() to divide a string into an array of substrings by a separator. · Use the second parameter ( limit ) to return a limited number ... ... <看更多>
Menu. split. Divides a string into an array using the argument as a separator. split is commonly used to convert comma-separated items from a string to an ... ... <看更多>