Instr (MPI)
From Tapestries MUCK
(Difference between revisions)
(3 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | [[Category: | + | [[Category:functions (MPI)]][[Category:String Functions (MPI)]] |
- | = | + | =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. |
Latest revision as of 01:38, 31 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.