find first occurence of sub-string in string (use as single token)
{mpf:pos=mysubstring||data=mystring}
find last occurence of sub-string in string (use as single token)
{mpf:pos=mysubstring||data=mystring||reverse}
find first occurence of sub-string in section (use with closing token)
{mpf:pos=mysubstring}
... position of first occurence will be displayed ...
{/mpf:pos=mysubstring}
find last occurence of sub-string in section (use with closing token)
{mpf:pos=mysubstring||reverse}
... position of first occurence will be displayed ...
{/mpf:pos=mysubstring||reverse}
store first occurence of sub-string in myVar (use as embedded token)
{mpf:set=myVar||{mpf:pos=mysubstring||data=mystring}}
|