|
-
Jul 2nd, 2002, 04:02 AM
#1
Thread Starter
Member
String Comparison Question.
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.
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
|