how to check the charecter who is used for split the string;
<p>i have a string ex:</p>

<pre><code>string word =     "Background-color:red;"
</code></pre>

<p>don't be confused i am not talking about css</p>

<p>i split the word by <code>"-"</code></p>

<p>now i forget what thing i used for split the word and</p>

<p>two thing first split result </p>

<pre><code>Background [0]
color:red; [1]
</code></pre>

<p>and</p>

<pre><code> string word =     "Background-color:red;"
</code></pre>

<p>how can i check the character who used for split the word in this example split by <code>"-"</code></p>

<p>are any trick exist to do this in c#</p>
