ASP Built In Functions
Home
Search
Tell a Friend

ABS()
Array()
ASC()
CHR()
CInt()
CStr()
Date()
DateAdd()
DateDiff()
DatePart()
DateSerial()
DateValue()
Day()
Fix()
FormatCurrency()
FormatDateTime()
FormatNumber()
FormatPercent()
Hour()
InStr()
InStrRev()
Int()
IsArray()
IsDate()
IsEmpty()
IsNull()
IsNumeric()
IsObject()
Join()
LBound()
LCase()
Left()
Len()
LTrim()
Mid()
Minute()
Month()
MonthName()
Now()
Replace()
RGB()
Right()
Rnd()
Round()
RTrim()
Second()
Space()
Split()
Sqr()
strComp()
String()
StrReverse()
Time()
TimeSerial()
TimeValue()
TypeName()
UBound()
UCase()
VarType()
WeekDay()
WeekDayName()
Year()


strComp()
Purpose:
Returns an interger representing the result of string comparison.
DataType:
Integer
Syntax:
StrComp(string1, string2[, compare])
Arguments:
"string1" and "string2" are any valid string expression.;
"compare" (optional) specifies the type of comparision. Can be "vbUseCompareOption" (Default), "vbBinaryCompare", "vbTextCompare", or "vbDatabaseCompare".
Sample:
response.write strComp("David", "Frank")
Result:
-1

Comments:
If string1 is less than string2, result is -1;
if string1 is equal to string2, result is 0;
if string1 is greater than string2, result is 1;
if any string is NULL, result is NULL.
Date Added: 1/9/2001

My3C's
perrychicker
It's easy... it's a PSACAKE!
Back | Tell A Friend | Search this Site
© 1998 - 2010 psacake.com
Version 3.23

Send me One Million FREE Guaranteed Visitors