Saturday, December 6, 2008

To Check weather the text contains a particular word or not

var="raju want to marry"
If instr(1,var,"want") Then
msgbox "Exist"
else
msgbox "doesnot Exist"
End If

No comments:

Post a Comment