Thursday, July 10, 2008

String Compare Function

Value1 = Browser("").Page(""). Webedit("").Get RO Property("Value")
Value2 = Browser("").Page(""). Webedit("").Get RO Property("Value")
Variable have value and now we want to compare the value.
String Compare function:
Dim Value1,Value2, MyCompare
Mycompare = strcomp(Value1,Value2,1)
string1 is less than string2 = 1string1 is equal to string2 = 0 string1 is greater than string2

No comments: