remove characters from variable
<pre><code>$dir = '/web99/web/direcotry/filename';
</code></pre>

<p>I need to drop '/web99/web/' from the directory on the fly.</p>

<p>I tried: </p>

<pre><code>$trimmed = ltrim($dir, "/web99/web/");
</code></pre>

<p>however if a directory started with a w,e,b,9 the first letter of the directory was cut off.</p>

<p>How can I drop only what I want and not every character like that?</p>
