A little variable question :)
Posted on 1998-09-07
Hi! I am using VB5.
I need to know how to make my program take a look at a variable, and.... if that variable has a cirtain phrase somewhere in it (even in the middle or something), such as Hello! then it'll do something.
Also... I'd like another question answered that has to do with that. The cirtain catch phrase may be something like (Hello, my name is ????!), and I want it to detect that phrase, and also save to a separate variable the ????. If you can help, I'd be much apprieciative!
Thanks a lot!
Both answers are required to get the points, but if you only know one, I'd appriciate if you'd just comment it in, and then I might give you points separately in another 'fake' question :)