title: Removing leading zeroes and the string before Hyphen
body: <p>How can I perform multiple formatting to a string?</p>
  
  <p>for e.g. doing in the following way doesn't work.</p>
  
  <pre><code>var Id = (from p in db.vwIds.Where(p =&gt; p.OperationalNumber.Substring(p.OperationalNumber.IndexOf("-") + 1).TrimStart('0')  == id)
                                group p by p.ID into g
                                select g.Key).ToList();
  </code></pre>
  
  <p>Can I not perform more than one actions on a string?</p>
  
  <p>By doesn't work I mean its not pulling Id's from "vwIds". When I hard-code the value of id to "001" and remove the ".TrimStart('0') " it pulls in the Ids, not otherwise.</p>
  
  <p>Basically the id I am passing is a number without leading zeroes, e.g. "1", "2", "112" etc
  And Ids present in vwIds are of format: "JEE - 001", "Dee - 002" etc.</p>