Instr (MPI)
From Tapestries MUCK
(Difference between revisions)
Line 1: | Line 1: | ||
- | |||
[[Category:MPI functions]] | [[Category:MPI functions]] | ||
+ | =mpi= | ||
<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 08:54, 30 March 2007
mpi
{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.