Trimming

Remove unwanted elements from the start, the end, or both ends of a collection.

Trimming.md

Trimming Both Ends of a Collection

Trimming from the Start

Trimming from the End

Finding the Suffix of a Collection

Finding Boundaries within a Collection