Pardon me for not having an appropriate title.
I'm making a program which seems to be working so far - but, I've stumbled on a bit of a tricky dead end.
Basically, If I have a string or char variable, say:
string input = "H";
And I have another string variable, say:
string word = "olleH"
How do I check whether the content of the variable input is within variable word?
Index 0 of word
Does that letter == input, if no, Next. If yes, *TODO Code*
Keep checking until reach end of list.
So i'm guessing i'll need a for loop and perhaps make the variable word in to an array and check every index. Would that work?