How do I use "-----" in php string functions?
<p>I have a form that I have to pull some strings out of.  The form uses long dashed lines for dividing data sets.  It would be handy to use:</p>

<pre><code>strpos($string, "----")
</code></pre>

<p>and</p>

<pre><code>$file2= explode("-----", $file1)
</code></pre>

<p>but they don't seem to work.  I have replaced the "-" with "." and used "....." in the above to successfully extract the needed data, but it removes wanted dashes, such as 2-year-old, in the extracted data.  So I'm  back to wanting to use "----" in the code lines above.</p>

<p>I also tried to just replace "--" to ".." but the following doesn't work either.</p>

<pre><code>$string = str_ireplace("--", "..",$string );
</code></pre>

<p>Any suggestions would be appreciated.
Thanks.</p>

<p>Is there a way to make this work?</p>
