The InStrRev attribute function searches for a specified string starting from the right in the string of the variable and returns the position.
Syntax | ||||
InStrRev(SearchFor, [LanguageID, [Compare]]) | ||||
Return value | ||||
Type |
Description | |||
Long |
Value > 0 if search successful, otherwise 0 | |||
Parameter | ||||
Use |
Name |
Type |
Passing |
Description |
Requiered |
SearchFor |
String |
ByVal |
String, to search for |
Optional |
LanguageID |
String |
ByVal |
Language-ID of the value |
Optional |
Compare |
CompareModes |
ByVal |
Language-ID of the value |
Note | ||||
If LanguageID is not specified, the dialog language applies. |
CompareModes |
Description |
0 – BinaryCompare |
An exact comparison is carried out |
1 – TextCompare |
Uppercase and lowercase letters are not considered |