Working with strings
<p>If I have a string which contains</p>

<pre><code>abc: def - 01:00, ghi - 02:00
</code></pre>

<p>Any part of this string can change, except the order of the dividers in the string i.e. <code>:</code>, <code>-</code>, <code>:</code>, <code>,</code>, <code>-</code>, and <code>:</code></p>

<p>How do I get the text before the first <code>:</code> and stick it into a variable for later use?</p>

<p>And also, how do I get the text between the first <code>-</code> and <code>,</code> and stick that into a different variable?</p>
