How to convert a string to alphabets and add
<p>i have a small project work given. the case is as follows.</p>

<p>i'm given a string and first i have to convert them into equivalent numbers and sum them up.</p>

<p>the numbers are as follows </p>

<pre><code>a=1,b=2,c=3....z=4. 
</code></pre>

<p>here another condition is </p>

<pre><code>A==a==1; 
</code></pre>

<p>A and a are same and similarly other letters caps and small are same.</p>

<p>Thanks</p>
