The function returns the last character of the input string.
