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