Hi,

I have 2 string
*************************
dim a as string
dim b as string

a="cat"
b="cat"
***************************
if i want to compare both the string to see whether they are the same.How do i compare ??
isit using
*****************************
if a=b then
msgbox "SAME"
else
msgbox "NOT SAME"
end if
***************************

is my way of doing wrong ?? not is there other way ?? thanks.