how to get the last character of a string?
<p>How to get the last character of the string:</p>

<pre><code>"linto.yahoo.com."
</code></pre>

<p>The last character of this string is <code>"."</code></p>

<p>How can I find this?</p>
