0
I have the following scenario: I have a variable with a text inside. I separate this text by words inside a array, With this I need to validate how many times each word appears in the text. I managed to do, but there’s another detail, I need to run the whole list without going through a word I’ve already caught the count.
Ex: "In a nest of mafagafos there are seven mafagafinhos. When mafagafa Gafa, gafam the seven mafagafinhos."
In this case I can not pass the code without repeating the "mafagafinhos". What I do?
You can post the snippet of your code that makes this word count?
– brow-joe