Introduced paths, removed splitFirst, splitLast

splitFirst and splitLast aren't all that useful as they don't indicate whether a split was performed or not when the result's second value is empty.