title: LINQ to SQL query to determine if value starts with numeric
body: <p>I have a project where I query users by first letter:</p>
  
  <pre><code>repository.GetAll().Where(q =&gt; q.BrukerIdent.StartsWith(letter.ToString())).ToList();
  </code></pre>
  
  <p>..where <code>repository.GetAll()</code> returns an <code>IQueryable&lt;Bruker&gt;</code>, <code>BrukerIdent</code> is a string that contains the username, and <code>letter</code> is a char-value coming in. This works perfectly, except that I also want to get users that starts with digits. And I don't want to sort by separate digits.</p>
  
  <p>My mind yells for a <code>StartsWith("\d")</code> but as far as I have found out it doesn't work this way. I have also thought of doing a 10-way OR clause, but that would look like spaghetti, and I'm not sure of the efficiency.</p>
  
  <p>Is there any "right" way to do it like this?</p>