How to read Cell if it has two dashes (-) in it? : <p>I am trying to read the cell and see if the invoice number has two dashes (-).</p>

<p>So for example:</p>

<p>4-2949493</p>

<p>4-9390023-1</p>

<pre><code>If (e.Row.RowType = DataControlRowType.DataRow) Then
    If (e.Row.Cells(1).Text.ToString = (TWO DASHES) Then

    Else

    End If
End If
</code></pre>

<p>How would I check to see if it has two dashes?  The invoice length changes every time too.</p>
