Forgot to iterate str (fixed)

Should I make it *(str[i])? Dunno