Liam's BitchX Command Reference
BitchX scripting function $index()
- index
- Function
- $index()
- Usage
- $index(characters text)
- Returns
- The number of leading characters in <text> that do not occur
anywhere in the <characters> argument.
- Example
- $index(f three fine frogs) returns 6 (the 'f' in 'fine')
$index(frg three fine frogs) returns 2 (the 'r' in 'three')