|
-
January 14th, 2000, 09:19 AM
#1
Find Test "an" in string "you're an angel!"
Give me an exemple to find text in string.
Like "op" in "loop"
Tanks!
Redg
-
January 14th, 2000, 09:27 AM
#2
Re: Find Test "an" in string "you're an angel!"
How about :
Dim sString as string
'
sString = "Chris Was Here"
'
If InStr(1, sString, "Here") > 0 then
MsgBox "Found It"
End If
'
' or...
'
If sString Like "*Here*" then
MsgBox "Found It"
End If
Chris Eastwood
CodeGuru - the website for developers
http://codeguru.developer.com/vb
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|