Instr (MPI)
From Tapestries MUCK
(Difference between revisions)
m (MPI instr moved to Instr (MPI)) |
|||
Line 1: | Line 1: | ||
[[Category:MPI functions]] | [[Category:MPI functions]] | ||
- | = | + | =instr= |
<mpi>{instr:str1,str2}</mpi> | <mpi>{instr:str1,str2}</mpi> | ||
Lists the position of the first substring within str1 that matches str2. | Lists the position of the first substring within str1 that matches str2. | ||
If no such substring exists, then this returns a 0. | If no such substring exists, then this returns a 0. |
Revision as of 13:24, 30 March 2007
instr
{instr:str1,str2}
Lists the position of the first substring within str1 that matches str2.
If no such substring exists, then this returns a 0.