Set Value to String [] object : <p>I have this string that contain month. I want to save code of the month. Example if I saved month January, it will save code of the month "1". How do I do set the value of every month.</p>

<pre><code>String [] month= {"January", "February", "March", "April", "May", "June", "July", "August", "September",
            "October", "November", "December"};
</code></pre>
