how to get the last character of a string?

How to get the last character of the string:

"linto.yahoo.com."

The last character of this string is "."

How can I find this?

21 thoughts on “how to get the last character of a string?”

Leave a Comment