title: How to remove first whitespace of a string
body: <p>I am building a new version of a telephone configuration manager where I am sucking on a stupid problem. You see these telephone .cfg configurations are rely static. So in the old version I made it gave the configuration without a problem.</p>
  
  <p>It looks like this:</p>
  
  <pre><code>## Configuration header
  configuration_1="parram"
  configuration_2="parram"
  configuration_3="parram"
  </code></pre>
  
  <p>etc.</p>
  
  <p>Now in the new version the configuration is given as this:</p>
  
  <pre><code>whitespace
  ## Configuration header
  configuration_1="parram"
  configuration_2="parram"
  configuration_3="parram"
  </code></pre>
  
  <p>Note that white space is actually white space and that the phone does not take the configuration, because it wants to see the first line have the #header.</p>
  
  <p>So I figured that the easy way to fix this is to just backspace the first white line but how. How can I tell PHP to delete the first line?</p>
  
  <p>OK, look at this: <a href="https://imgur.com/a/y0FgN#1" rel="nofollow noreferrer">image</a></p>
  
  <p>The first to screenshots are from <a href="http://en.wikipedia.org/wiki/PhpMyAdmin" rel="nofollow noreferrer">phpMyAdmin</a> where you see that inside an textarea there is no white space, but when just echoing it out you suddenly see it. The strange thing is that when manually changing the configuration with phpMyAdmin it is removed somehow, but it has be done automatically.</p>