How can I compare part of a string?
<p>I have a string "01-02" and I would like to compare it to another string "02-03-1234". Is there a simple way that I can compare if the first five characters of one string are equal to the first five of another string?</p>

<p>Marife</p>
