title: Divide a string into two at hyphen
body: <p>I am taking a String variable from request.</p>
  
  <pre><code>String issueField = request.getParameter("issueno");
  </code></pre>
  
  <p>This may or may not have a hyphen in the middle. I want to be able to traverse through the String and divide the string when hyphen is seen.</p>