mpfserver Manual
 
 
 mpf:pos | find first/last occurence of sub-string in string
mpf:pos

find first/last occurence of sub-string in a specific string

{mpf:pos  }
=[sub-string]
sub-string to find in string
||data=[string]
data to search for sub-string (required if used as single token)
||offset=[number]
search string starting at offset-position
||reverse
use this parameter start search from end of string (offset will also start at end of string)
|| convert=[lowercase|uppercase|upperfirst]
convert string value
|| encode=[url|html|html-chars|crypt]
encode string value to another format
|| trim=[left|right|both]
remove whitespaces from string value
|| convert_section=[lowercase|uppercase|upperfirst]
convert section data (for use with closing token only)
|| parse_section=[yes|no]
parse section data for mpf-tokens (for use with closing token only)
|| encode_section=[url|html|html-chars|crypt]
encode section data to another format (for use with closing token only)
|| trim_section=[left|right|both]
remove whitespaces from section data (for use with closing token only)
|| [opr][condition]
condition may be used to check string value
 
 
2004 by master-p-formance.All rights reserved.
 
This manual is generated on the fly using mpfserver and MPFT (mpf transformation).