Chilkat HOME ASP Visual Basic VB.NET C# Visual C++ C MFC Delphi FoxPro Java Perl PHP Python Ruby SQL Server VBScript
|
Case-Insensitive String Compare Use the StrComp function to compare strings without case sensitivity. string1 = "Alaska" string2 = "California" result = StrComp(string1,string2,vbTextCompare) ' result = 0 if the strings are identical (case-insensitive) ' result = -1 if string1 is lexicographically less than string2 ' result = 1 if string1 is lexicographically greater than string2
|
Need a specific example? Send a request to support@chilkatsoft.com
© 2000-2008 Chilkat Software, Inc. All Rights Reserved.