InStrRev Function

Syntax                  InStrRev(S', S'[, Index])

Group                   String

Description           Return the index where S' last matches S'. If no match is found return 0.

Parameter              Description

S'                             Search for S' in this string value. '

S'                             Search S' for this string value. '

Index                       Start searching for S' ending at this index in S'. If this is omitted then start searching from the end of S'.

See Also               Lef'( ), Len( ), Mi'( ), Replac'( ), Righ'( ).

Example               '#Language "WWB.NET"
Sub Main
    Debug.Print InStrRev("Hello","l") ' 4
End Sub