Programming Reference Manual
InStrRev
Syntax
InStrRev(
S1$
,
S2$
[,
Index
])
Description
Return the index where
S2$
last matches
S1$
. If no match is found return 0.
Parameter
Description
S1$
Search for
S2$
in this string value. If this value is
Null
then
Null
is returned.
S2$
Search
S1$
for this string value. If this value is
Null
then
Null
is returned.
Index
Start searching for
S2$
ending at this index in
S1$
. If this is omitted then start searching from the end of
S1$
.
See Also
Left$
,
Len
,
Mid$
,
Replace$
,
Right$
,
StringClass.Find
, StringClass.FindRev
.
Example
Sub
Main
Debug
.
Print
InStrRev
(
"Hello"
,
"l"
)
' 4
End
Sub
Home
IDE Overview
Declarations
Data Types
Assignment
Flow Control
Error Handling
Conversion
Variable Info
Constant
Math
Financial
Strings
Strings
Asc
AscB
AscW
Chr
ChrB
ChrW
Format
FmtName
InStr
InStrB
InStrRev
Join
LCase
Left
LeftB
Len
LenB
LTrim
Mid
MidB
Replace
ReplaceString
Right
RightB
RTrim
Space
Split
StrComp
StrConv
String
StrReverse
Trim
UCase
StringClass
Objects
Time/Date
File
User Input
User Dialog
Dialog Functions
Web Form
CCL (web server)
DDE
Settings
Miscellaneous
Operator
Translator