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()
|
InStr() Purpose:Returns the numeric position of the first instance of one string within another DataType:Integer Syntax:Instr([start, ] strToBeSearched, strSearchFor [, compare]) Arguments: "start" (optional) is the numeric position to start the string search;
"strToBeSearched" is the string expression to be searched;
"strSearchFor" is the string expression search value;"compare" (optional) is the value indicating the comparison constant. Sample: response.write Instr("Keep Testing!", "e") Result: 2 Date Added: 1/9/2001
|