back to Table of Contents


RInstr (function)

Search a substring in the given source string starting from the end (right side) of the source string. The behavior is equal to the new _INSTRREV function introduced in QB64 v1.3, but I recommend using RInstr() instead, if you want your program to be usable with the older QB64 versions too.


SYNTAX:

position& = RInstr& (start&, source$, find$)

INPUTS:

start& (LONG)

source$ (STRING)

find$ (STRING)


RESULT:

position& (LONG)


back to Table of Contents