Discard cases
the filter removes all case in which the first and last event do not have one of selected values
trim longest
the filter trim all cases to the sequence between the first occurrence of a start value and the last occurrence of an end value
trim first