select 1st 5 character, in string array in C#
<p>i want to select 1st 5 character from list of string array,</p>

<pre><code>List&lt;string&gt; strDetailIDList = new List&lt;string&gt;();
foreach(DataRow row in ds.Tables[0].Rows)
{
   strDetailIDList.Add(row.ToString());
}              
str=strDetailIDList.ToArray();
</code></pre>

<p>now str containing list like</p>

<pre><code>FOCMM001
FOCMM002
FOCMM003
FOCMM004
FOCMM005
FOCMM006
FOCSM013
FOCSM014
FOCSM015
FOCSM016
FOCSM017
FOCSM018
FOCSM019
SC1LN001
SC1LN002
SC1LN003
SC1LN004
SC1LN005
SC1LN006 
</code></pre>

<p>from this list i want to select 1st 5 character and count FOCMM-6,FOCSM-6,SC!LN-6. Plz suggest some idea.</p>
