substring

Description:

Identifies a substring of a value

Syntax:

Two to three parameters:

1. Value (string) from which a substring is to be determined

2. Start position:
1 = First character from left
-1 = First character from right

3. Number of characters to be extracted (optional). If this is not specified, a substring running from the specified start position to the end of the value is extracted.

Example:

<operation name="substring">
<constant>Order processing/Cash sales
</constant>
<constant>-1</constant>
<constant>10</constant>
</operation>

Return value:

Cash sales
If no value can be determined for one of the parameters or if integers are not specified for the start position and/or number of characters, nothing is returned.