Just curious on this:
If i type in the text box, "testing" it returns true. Am I forgeting something.Code:private sub command1_click
if instr(text1, "test") then
MsgBox"It's in"
end if
Printable View
Just curious on this:
If i type in the text box, "testing" it returns true. Am I forgeting something.Code:private sub command1_click
if instr(text1, "test") then
MsgBox"It's in"
end if
Of course!!!
"test" is in fact part of "testing"
What´s the problem?
[Edited by HeSaidJoe on 12-06-2000 at 12:48 PM]Code:'to check for entire word
Private Sub command1_click()
If Text1 Like "*testing" Then MsgBox "It's In"
End Sub
thanks HeSaid, I dont know what I was thinkin', brain lock. jp, what I was looking for was an occurence of test, the actual word, not testing. I just got a little confused