Functions

csRinstr

Supported By

Syntax

[the] csRinstr of ( haystack , needle )

csRinstr ( haystack , needle )

Haystack and needle yield strings.

Description

The csRinstr 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-sensitive. For a case-insensitive version of this function, see rinstr. For a regular expression-based version of this function, see regRinstr.

See Also

rinstr, regRinstr, instr, csInstr, regInstr, offset, csOffset, regOffset