Split a string into a list and iterate through it

Good morning. So I come to ask you a somewhat dumb question, I know that to normally retrieve a list of the elements of a character string you have to use the .split() method, except when I want to do the .length() method on my list obtained to retrieve the size of the list to make a loop that traverses it, it does not work it tells me that .length is not a valid function or method, so that probably I do not apply it not to a list. But I don't understand since normally by performing .split() I am supposed to retrieve a list, do you have an idea of ​​the problem?
3 Replies
d.js toolkit
d.js toolkit2y ago
• What's your exact discord.js npm list discord.js and node node -v version? • Post the full error stack trace, not just the top part! • Show your code! • Explain what exactly your issue is. • Not a discord.js issue? Check out #useful-servers.
treble/luna
treble/luna2y ago
not djs related, #other-js-ts
🖤 • Nelson • 🖤
Okay thanks
Want results from more Discord servers?
Add your server