title: Remove a substring from String
body: <p>Is there a way to remove substrings from my string on the basis of any identifier?</p>
  
  <p>For example, I have:</p>
  
  <pre><code>string codeID = "347439&gt;Dome";
  </code></pre>
  
  <p>I want to have only that part of string that occurs before <code>&gt;</code> </p>
  
  <p>The result should look like this:</p>
  
  <pre><code>string newCodeId = "347439"
  </code></pre>
  
  <p>Is it possible?</p>