list of state

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “”&gt;
<html xmlns=””&gt;
<meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ />
<title>List of state in india</title>

<h1>List of state in india</h1>
<select name=”ddlLocalityState” id=”ddlLocalityState” style=”width:250px;”>
<option selected=”selected” value=”0″>[Select A State]</option>
<option value=”ACP”>Arunachal Pradesh</option>
<option value=”ANI”>Andaman &amp; Nicobar Islands</option>

<option value=”AP”>Andra Pradesh</option>
<option value=”ASM”>Assam</option>
<option value=”BHR”>Bihar</option>
<option value=”CHG”>Chhattisgarh</option>
<option value=”CNG”>Chandigarh</option>
<option value=”DEL/NCR”>Delhi/NCR</option>

<option value=”DLH”>Delhi</option>
<option value=”DND”>Daman &amp; Diu</option>
<option value=”DNH”>Dadra and Nagar Haveli</option>
<option value=”GOA”>GOA</option>
<option value=”GUJ”>Gujrat</option>

<option value=”HP”>Himachal Pradesh</option>
<option value=”HRY”>Haryana</option>
<option value=”JHAR”>Jharkhand</option>
<option value=”JK”>Jammu &amp; Kashmir</option>
<option value=”KRL”>Kerala</option>

<option value=”KRT”>Karnataka</option>
<option value=”LKD”>Lakshwadeep</option>
<option value=”MGL”>Meghalaya</option>
<option value=”MHR”>Maharashtra</option>
<option value=”MNP”>Manipur</option>
<option value=”MP”>Madhya Pradesh</option>

<option value=”MZR”>Mizoram</option>
<option value=”NGL”>Nagaland</option>
<option value=”ORS”>Odisha</option>
<option value=”PDC”>Pondicherry</option>
<option value=”PNJ”>Punjab</option>
<option value=”RAJ”>Rajasthan</option>

<option value=”SIK”>Sikkim</option>
<option value=”TMN”>Tamilnadu</option>
<option value=”TRP”>Tripura</option>
<option value=”UP”>Uttar Pradesh</option>
<option value=”UTC”>Uttaranchal</option>
<option value=”WB”>West Bengal</option>


Arrays and Hashes in Ruby


Arrays are ordered, integer-indexed collections of any object. Array indexing starts at 0, as in C or Java. A negative index is assumed to be relative to the end of the array—that is, an index of -1 indicates the last element of the array, -2 is the next to last element in the array, and so on.


A Hash is a collection of key-value pairs. It is similar to an Array, except that indexing is done via arbitrary keys of any object type, not an integer index. Hashes enumerate their values in the order that the corresponding keys were inserted.