title: How to remove last part of string in c
body: <p>I am doing a program in C, and currently I'm having problems. I don't know how to remove the last part of the string. For example:</p>
  
  <pre><code>char str[100] = "one =&gt; two";
  </code></pre>
  
  <p>I want to remove   <code>=&gt; two</code>. Can you help me? Thanks in advance.</p>