How do you select the last character of a string?

Thanks