Should be able to write 'abcdef'.substring(-2,0) or [1,2,3,4].subList(-1,0) to get the end of a string or end of a list.