Hey guys - quick question.
I'm writing a little program just for the fun of it, and to start off I'm having the user enter a string - the string will be inputted in the same format but there will be different numbers in the spots.
I need to go through the string and when it comes upon the group of characters that will always match, I need it to pull the variable out. For example, the string will always have the format "This is x and this is y" - but x and y will change. So when it goes through the string and comes upon "and" it should go back and grab the x value.
Any ideas?
Thanks

