Home | Advertising Info118 USERS CURRENTLY ONLINE   
   Site Search Contact Us Saturday, June 24, 2017  
 
 







DISCUSSION ARCHIVES
DISCUSSION ARCHIVES 2
DISCUSSION ARCHIVES 3
BLOG

 
Try a free httpZip trial now and compress for less!


We didn't realize
the site was so popular.

Other Stuff
 
 


VBscript Built-in Functions

Back to Function List

StrComp

Gives a value specifying the result of a string comparison

StrComp(string1, string2[, compare])

The StrComp function syntax has these arguments:

 

Part Description
string1 Required. Any valid string expression.
string2 Required. Any valid string expression.
compare Optional. Numeric value indicating the kind of comparison to use when evaluating strings. If omitted, a binary comparison is performed. See Settings section for values.
The compare argument can have the following values:

 

Constant Value Description
vbBinaryCompare 0 Perform a binary comparison.
vbTextCompare 1 Perform a textual comparison.
vbDatabaseCompare 2 Perform a comparison based upon information contained in the database where the comparison is to be performed.

 

If StrComp returns
string1 is less than string2 -1
string1 is equal to string2  0
string1 is greater than string2  1
string1 or string2 is Null Null




   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright 1998 - 2017 PowerASP.com and Christopher J. Williams
Banner ads ,other site logos, etc are copyright of their respective companies.
STATS Unless otherwise noted - All Rights Reserved.

Active Server Pages asp search engine active server page asp application components tutorial CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspclassifieds.com, www.powerasp.com,www.cjwsoft.com,www.aspphotogallery.com,www.codewanker.com,www.aspprotect.com,www.aspbanner.com