History |
StrComp (strings)
Purpose
Compares two string expressions.
Syntax
StrComp (String1, String2 [, Case])
StrComp returns the following integer values based on the comparison evaluation:
Example
Sub Main()
Dim s As String
s = "aaa"
Select Case StrComp(s, "bbb")
Case -1
Print "Source string is less than comparison string."
...
End Select
End Sub
| ||||||||||||