Như Quỳnh Lan
New member
How do you use the split function?
Answer
The split() method is used to split a string into an array of substrings, and returns the new array. Tip: If an empty string (“”) is used as the separator, the string is split between each character.
Answer
The split() method is used to split a string into an array of substrings, and returns the new array. Tip: If an empty string (“”) is used as the separator, the string is split between each character.