I am trying to learn the concept of Do While...Loop, and I am wondering how I could use this feature to scan for any instance of the chosen letter in the puzzle?
Like, if I was to pick a T, and it was to scan for any instances of the letter T in this phrase:
TO BE OR NOT TO BE THAT IS THE QUESTION
Each time a T was to be found, the T would be revealed, and then it would search for the next instance of the T until they were all revealed.
If there was no occurrence of a letter in this puzzle, like say, J. A message box (in this example) would pop up saying "sorry no J's". How do I do that in the Do While Loop? Or would I need something else for this or both examples I mentioned?
Like, if I was to pick a T, and it was to scan for any instances of the letter T in this phrase:
TO BE OR NOT TO BE THAT IS THE QUESTION
Each time a T was to be found, the T would be revealed, and then it would search for the next instance of the T until they were all revealed.
If there was no occurrence of a letter in this puzzle, like say, J. A message box (in this example) would pop up saying "sorry no J's". How do I do that in the Do While Loop? Or would I need something else for this or both examples I mentioned?