Returns the supplied string with any backslashes doubled. This is to make paths on Windows display properly.
Replaces $random and $random(i..n) tokens in a string with corresponding random values.
Apply some common text replacements. Used on part and quit reasons.
Apply some common text replacements. Used on part and quit reasons. Overload that doesn't take an IRCClient and as such can't replace $nickname.
Strips a prefix word from a string, optionally also stripping away some non-word characters (currently ":;?! ").
Various functions that do string manipulation.