check if a string contains another string

rbreidenstein

Member
Joined
Dec 4, 2005
Messages
21
Programming Experience
1-3
I want to be able to say this:

if stringA contains stringB then
do something
else
do something different
end if



stinga will have many words in it and stringb may have one or many.
 
Hi, maybe this is just me sticking my nose in, but would it not be a better idea to use a 'Regular Expression' When searching for strings like this.:)
 
Back
Top