mpfserver Manual
mpfserver
Token structure
Variables
Directives
Date/String operations
mpf:convert
mpf:date
mpf:encode
mpf:len
mpf:pos
mpf:replace
mpf:sub
Examples
mpf:trim
mpf:url
File operations
XML operations
Database/Communication
Use Cases
Software Licence
Search...
mpfserver
/
Date/String operations
mpf:sub | extract sub-string from string
mpf:sub
extract a sub-string from another string
Examples
{
mpf:
sub
}
=
[string]
measure string subgth
||
start=[number]
start position (first position is 0)
||
length=[number]
length of sub-string to extract
||
convert=[lowercase|uppercase|upperfirst]
convert subgth value
||
encode=[url|html|html-chars|crypt]
encode subgth value to another format
||
trim=[left|right|both]
remove whitespaces from subgth 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 subgth value
2004 by master-p-formance.All rights reserved.
This manual is generated on the fly using mpfserver and
MPFT (mpf transformation).