Initial import of the ircii-pana-1.1-final source tree.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/tags/ircii-pana-1.1-final@1 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
19
bitchx-docs/6_Functions/msar
Normal file
19
bitchx-docs/6_Functions/msar
Normal file
@@ -0,0 +1,19 @@
|
||||
Synopsis:
|
||||
$msar(/<search>/<replace>/ ... /<text>)
|
||||
|
||||
Technical:
|
||||
This function works much like sar(6), but handles multiple search
|
||||
and replace arguments. The first character, a '/' in this case, can be
|
||||
any character not appearing in <text>.
|
||||
|
||||
Returns:
|
||||
the resultant string
|
||||
|
||||
Examples:
|
||||
$msar(/as/xy/asdf) returns "xydf"
|
||||
$msar(/as/xy/yd/42/asdf) returns "x42f"
|
||||
$msar(/e/he/pi/ll/c/o/epic) returns "hello"
|
||||
|
||||
See Also:
|
||||
tr(6); sar(6)
|
||||
|
||||
Reference in New Issue
Block a user