Splitting up data in the form "xxx-yyyy people" into two variables php
<p>Given that I have a variable $peopleSize in the format (I've already extracted the information from the UI element):</p>

<pre><code>xxx-yyyy people
</code></pre>

<p>For example as seen in the jquery range UI:</p>

<p><a href="http://jsfiddle.net/methuselah/SLvtx/1/" rel="nofollow">http://jsfiddle.net/methuselah/SLvtx/1/</a></p>

<p>How would I get the two min and max as two seperate variables using PHP getting rid of the "-" and "people"? </p>
