- Function SubRange(Superset, First, Last)¶
SubRange extracts a subrange of consecutive elements
from an existing set.
SubRange( Superset, ! (input) a simple set First, ! (input) an element Last ! (input) an element )
The set containing the subrange of elements that you want to extract.
An element in Superset representing the first element of the subrange.
An element in Superset representing the last element of the subrange.
The function returns a set containing the subrange of elements extracted from Superset. If the element First is positioned after Last, then the empty set is returned.