How to find the index of the given string value in dropdownlist?
<p>Iam using a dropdown list ,in that am having 4 values ,the following are my values</p>

<ul>
<li>Uk-L1 </li>
<li>Us-L1B </li>
<li>Aus-BUssness </li>
<li>Uk-HSMP</li>
</ul>

<p>and here i need to choose the a particular value as a selected index ,and i did that for a exact value and in my requirement i will pass only the values after that '-' .so that i need get the value to be selected and here am using the following code to select it is not working can any one help for this.</p>

<p>Code:</p>

<pre><code>DropList.SelectedIndex = DropList.Items.IndexOf(DropList.Items.FindByValue("L1"));
</code></pre>

<p>Thanks.</p>
