Compare two strings returning 1 if they are the same, or 0 if they are not the same.
Syntax: return = strEq(string1,string2)
| string1, string2 | Required. Two strings to compare |
| return |
Required. return = 1 if string1=string2 return = 0 if string1<>string2 |
Example:
Dim s(10) As String, s2(10) As String Dim ans As Ubyte S="test": s2="test": ans=StrEq(s,s2) ' ans=1 S2="testing": ans=StrEq(s,s2) ' ans=0
Also See: