How can we convert string into a list/ Array?

in such case we just change from toList to toArray:

2 Likes