hi I tried another way to clear the Words list from words that are less than 4 or higher than 8 or not isogram
// Clearing words list from non isogram words
for(int32 index = 0; index < Words.Num(); index++)
{
if(Words[index].Len() < 4 || Words[index].Len() > 8 || !IsIsogram(Words[index])) // remove words that are not between 4 - 8 characters and isogram
{
Words.RemoveAt(index);
}
}
but it’s not clearing properly and I have 652 words left that are included words higher than 8 less than 4 and not isogram.
what am I doing wrong here?