Subst (MPI)
From Tapestries MUCK
(Difference between revisions)
Revision as of 15:01, 30 March 2007
subst
{subst:str,old,new}
Returns a copy of 'str' with all substring instances of 'old' replaced by the text specified by 'new'.
Basically just substitutes the new text for the old text in str.
example:
{subst:Hello World!,l,r}would return "Herro Worrd!"