SUBSTR(2) SYSTEM CALLS SUBSTR(2)
NAME
substr - "does search & replace in a string
SYNOPSIS
string substr(string str, string match, string replace);
DESCRIPTION
From Sulam's comments in the original file:
This function recursively replaces a key with a string.
Variables: str The text that needs formatting match
The key that is getting replaced replace What to replace
match with Returns: The string we end up with.
Note: this is very similar to replace_string(). As they are
both slightly different, they are both here until a suitable
solution can be found.
EXAMPLE:
substr("abcbdbebf", "b", "-") returns "a-c-d-e-f"
SEE ALSO
replace_string().
AUTHOR
Ichabod@TMI, 3/12/93 (based on Sulam's comments in the
file).
MudOS Release 0.9 Last change: 3-19-93