mpfserver Manual
mpfserver
Token structure
Variables
Directives
Date/String operations
mpf:convert
mpf:date
mpf:encode
Examples
mpf:len
mpf:pos
mpf:replace
mpf:sub
mpf:trim
mpf:url
File operations
XML operations
Database/Communication
Use Cases
Software Licence
Search...
mpfserver
/
Date/String operations
mpf:encode | encode string (html, url, ...)
mpf:encode
encode strings to another format (URL/HTML/CRYPT)
Examples
{
mpf:
encode
}
=
[html|html-chars|crypt]
url
convert to URL-format
html
convert all html entities
html-chars
convert html special characters only
crypt
replace each character by *
||
data=[toencode]
string to encode (required if used as single token, without closing token)
||
convert=[lowercase|uppercase|upperfirst]
convert encoded string
||
trim=[left|right|both]
remove whitespaces from encoded string
||
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 encoded string
2004 by master-p-formance.All rights reserved.
This manual is generated on the fly using mpfserver and
MPFT (mpf transformation).