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
β’ 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.not djs related, #other-js-ts
Okay thanks