Subst (MPI)

From Tapestries MUCK
Jump to navigationJump to search

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!"