Content deleted Content added
m →parsing |
|||
Line 2,184:
*: ↳ {{#invoke:params|new|parsing|one/two/ three / foo % bar /hello%world|with_plain_psep|%|trim_none|with_plain_isep|/|for_each|[$#:$@]}}
The ''trim flag'' argument can be placed in any position after the ''string to parse'' (not necessarily in second position) and can have one of the following values: <code>trim_none</code>, <code>trim_named</code>, <code>trim_positional</code>, <code>trim_all</code>. If omitted it defaults to <code>trim_named</code>.
The ''iteration delimiter setter'' can be placed in any position after the ''string to parse'' (not necessarily in third position), must be ''immediately'' followed by a user-given string, and can either be <code>with_plain_isep</code> or <code>with_pattern_isep</code>. If omitted, the two arguments default to <code>with_plain_isep|{{!}}</code>. If the custom string is empty (but not if it is blank but not empty) the string to parse will be assumed not to have any iteration delimiters.
The ''key-value delimiter setter'' can be placed in any position after the ''string to parse'' (not necessarily in fifth position), must be ''immediately'' followed by a user-given string, and can either be <code>with_plain_psep</code> or <code>with_pattern_psep</code>. If omitted, the two arguments default to <code>with_plain_psep|{{=}}</code>. If the custom string is empty (but not if it is blank but not empty) the string to parse will be assumed not to have any key-value delimiters.
{{vpad|clear=none}}
|