You can use String.Compare method following is the syntax -
Compare (strA as string, strB as string, ignoreCase as boolean)
Return value
Zero - strA equals strB.
Less than zero - strA is less than strB.
Greater than zero - strA is greater than strB.
Let me know if your are looking something different.