Symisc Systems

Libcox Command Reference


Star Follow @symisc

Command Syntax

strripos haystack needle [offset = 0]


Alias

None


Description

Case-insensitive strrpos.


Parameters

haystack

The input string.

needle

Search pattern (must be a string).

offset

Optional Parameter: If specified, search will start this number of characters counted from the beginning of the string. If the value is negative, search will instead start from that many characters from the end of the string, searching backwards.


Return Value

Integer: Returns the position as an integer. If needle is not found, this command will return FALSE. Use libcox_value_to_int() to extract the processing result.