lastChar function

Return last characters from strings