in reply to Re^3: why can't I shift a split?in thread why can't I shift a split?
If you want the last element of a split(), try this: ( split ... )[-1].