Liam's BitchX Command Reference
BitchX scripting function $strip()
- strip
- Function
- $strip()
- Usage
- $strip(characters text)
- Returns
- <text> with all instances of any characters in the <characters>
argument removed.
- Example
- $strip(f free fine frogs) returns "ree ine rogs"
- Notes
- it can be difficult (actually, not possible) to remove spaces from
a string using this function. To remove spaces, simply use this:
$tr(/ //$text)
An alternative is $tr(/characters//$text)