Report question

Question: How to get the last character of a string in a shell?