regis
January 14th, 2000, 08:19 AM
Give me an exemple to find text in string.
Like "op" in "loop"
Tanks!
Redg
Like "op" in "loop"
Tanks!
Redg
|
Click to See Complete Forum and Search --> : Find Test "an" in string "you're an angel!" regis January 14th, 2000, 08:19 AM Give me an exemple to find text in string. Like "op" in "loop" Tanks! Redg Chris Eastwood January 14th, 2000, 08:27 AM 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 codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |