Question about second for loop


#1

can someone please explain this to me in plain terms?


Iam not sure why it crash
#2

hits[0]is irrelevant.

j will (if your second for loop is good) contain the indexes of your name in textstring.

so then you can use text[j]` to convert the indexes to letters of your name. push() will append the letters to your hits array


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.