Which method is used to convert a string to an array of words based on space as a separator?
a. split()
b. toArray()
c. words()
d. split(' ')
This question is part of this quiz :