Stripping text from a string using a marker and php
<p>How can i strip out the code after the "-" (including the -) in this title using php?</p>

<pre><code>Buying a Home - Conveyancing Solicitors Dorset, Devon &amp; Cornwall - LCS Legal Services
</code></pre>
