strrindexStrings:Manipulationstrrindexstrrindex
Return the position of the last occurence of a string in another string
Description
Return the position of the last occurence of S2 in S1, or -1 if not
found. If S2 is empty, the length of S1 is returned. strrindex runs
at init time only.
Syntaxipos strrindex S1, S2Examples
Here is an example of the strrindex opcode. It uses the file strrindex.csd.
Example of the strrindex opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.See AlsoString Manipulation OpcodesCreditsAuthor: Istvan Varga2006New in version 5.02