ParentFull threadmarkild·The same mechanism that is used for reversing a string can be very useful though.Think in the lines of python's:>>> 'abcd'[:-1]'abc'View on HN