Functions

rinstr

Supported By

Syntax

[the] rinstr of ( haystack , needle )

rinstr ( haystack , needle )

Haystack and needle yield strings.

Description

The rinstr function returns the index of the last appearance of the string needle in the string haystack, starting at 1. If needle cannot be found in haystack, zero is returned.

This function is case-insensitive. For a case-sensitive version of this function, see csRinstr. For a regular expression-based version of this function, see regRinstr.

See Also

csRinstr, regRinstr, trRinstr, instr, csInstr, regInstr, trInstr, offset, csOffset, regOffset, trOffset