parsing a date string to get the year
<p>I have a string variable that stores a date like "05/11/2010".</p>

<p>How can I parse the string to get only the year.</p>

<p>So I will have another year variable like year = 2010</p>
