Span¶
Extract a span of elements using ;; notation in Part.
Leaving out an end runs the span to the last element, and a third part is the step:
;; binds tighter than ->, so a span can be either side of a rule.
StringExtract reads such a rule as "split at the delimiter, then take
this span of the parts":
Every operator Wolfram places below ;; — assignment, comparison, the
logical operators, |, ~~ and -> — keeps the whole span as its operand,
so a symbol set to a span holds the span itself:
The arithmetic operators bind tighter and stay inside the span's operands: