removeRight

If 'haystack' ends with 'needle', remove 'needle'

T[]
removeRight
(
T
)
(,
T[] needle
)

Meta