Home
About
Policies
FAQ
Forums
Registration
Password Recovery

Subst (MPI)

From Tapestries MUCK

(Difference between revisions)
Jump to: navigation, search
 
Line 1: Line 1:
-
[[Category:MPI functions]][[Category:MPI String Functions]]
+
[[Category:functions (MPI)]][[Category:String Functions (MPI)]]
=subst=
=subst=
<mpi>{subst:str,old,new}</mpi>
<mpi>{subst:str,old,new}</mpi>

Latest revision as of 01:41, 31 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!"
Personal tools
Namespaces
Variants
Actions
navagation
information
wiki
Toolbox