Description |
If event matches Condition set FieldName to the line range from Number to Number in FieldName. |
|
|
Comments |
If either FieldName is missing, blank or invalid, do nothing. Line indexing starts from one, and if either Number is less than zero, that index is counted backwards from the last line. New line characters are preserved in the resulting string. New line characters at the end of the input string are optional. Therefore, the following lines are considered equivalent: "Line 1\nLine 2\n" If the starting index is greater than the ending index the result is an empty string (""). For the first number index, a value of zero is the same as a value of one. For the second number index, a value of zero is the same as the last line. Example 1 (simple indices): Example 2 (negative indices): Example 3 (negative/zero indices): |
<filter objectId="LineRange.three" type="LineRangeFilter"> <parameter type="Condition"> <negatePrimaryCondition>false</negatePrimaryCondition> <conditionRelation>Any</conditionRelation> </parameter> <parameter type="FieldName">ev:NewId</parameter> <parameter type="Number">12</parameter> <parameter type="Number">-7</parameter> <parameter type="FieldName">ev:msg</parameter> </filter>