mpfserver Manual
mpfserver
Token structure
Variables
Directives
Date/String operations
mpf:convert
mpf:date
mpf:encode
mpf:len
Examples
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:len | measure length of specific string
mpf:len
count number of characters (including whitespaces) in a string
Examples
{
mpf:
len
}
=
[string]
measure string length
||
convert=[lowercase|uppercase|upperfirst]
convert length value
||
encode=[url|html|html-chars|crypt]
encode length value to another format
||
trim=[left|right|both]
remove whitespaces from length 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 length value
2004 by master-p-formance.All rights reserved.
This manual is generated on the fly using mpfserver and
MPFT (mpf transformation).