title: Is there a way to delete/add nothing in string? [C]
body: <p>Im having problems with this piece of code</p>
  <pre><code>string_array[1001] = &quot;Hello Everyone6415!&quot;; 
        for (i = 0; i &lt; 1000; i++) {
          if (isdigit(string_array[counter])) {
            string_array[counter] = ' ';
            counter++;
          } else {
            string_array[counter] = string_array[counter];
            counter++;
  
  Output:Hello Everyone    !
  </code></pre>
  <p>Is there a way to replace the numbers with nothing at all?</p>
  <p>Tried to use another counter, new array, NULL. What am I expecting the code to do is to print Hello Everyone!</p>