Copy a portion from the end of a string.
Returns the substring of a specified length that appears at the end of a string.