Liam's BitchX Command Reference
BitchX scripting function $rindex()
- rindex
- Function
- $rindex()
- Usage
- $rindex(characters text)
- Returns
- The number of leading characters in <text> that occur before the
*last* occurance of any of the characters in the <characters>
argument.
- Example
- $rindex(f three fine frogs) returns 12 (the 'f' in 'frogs')
$rindex(frg three fine frogs) returns 15 (the 'g' in 'frogs')