mpfserver Manual
mpfserver
Token structure
Variables
Directives
Date/String operations
mpf:convert
Examples
mpf:date
mpf:encode
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:convert | convert string (uppercase, lowercase, ...)
mpf:convert
convert strings to uppercase, lowercase or convert first letter only (upperfirst)
Examples
{
mpf:
convert
}
=
[uppercase|lowercase|upperfirst]
uppercase
convert to uppercase
lowercase
convert to lowercase
upperfirst
convert first character to uppercase
||
data=[toconvert]
string to encode
||
encode=[url|html|html-chars|crypt]
encode converted string to another format
||
trim=[left|right|both]
remove whitespaces from converted string
||
[opr][condition]
condition may be used to check converted string
{
mpf:
convert
}
... {
/
mpf:
convert
}
=
[uppercase|lowercase|upperfirst]
uppercase
convert to uppercase
lowercase
convert to lowercase
upperfirst
convert first character to uppercase
||
encode=[url|html|html-chars|crypt]
encode converted string to another format
||
trim=[left|right|both]
remove whitespaces from converted 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 converted string
2004 by master-p-formance.All rights reserved.
This manual is generated on the fly using mpfserver and
MPFT (mpf transformation).