mpfserver Manual
 
 
 Examples | find first/last occurence of sub-string in string
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}}
 
 
2004 by master-p-formance.All rights reserved.
 
This manual is generated on the fly using mpfserver and MPFT (mpf transformation).