Thanks Jelmer for your thoughts on this, I agree we have to be careful not to clutter the framework. I'll do a pull request and add the method when I get some time. Thanks
+1 for the -1 approach as this fits in with how PHP does things. Otherwise $last = end(Uri::segments()) is really not that much to ask for.
We don't want to get the reputation of having a method for EVERYTHING, as core PHP does this stuff just as well.