title: split string by hyphen in javascript
body: <p>I want to split following string into two parts using split function of javascript</p>
  
  <p>original string is <strong>'Average Sized' - 'Mega Church!'</strong>       <strong><em>(with single quotes)</em></strong></p>
  
  <p>please mark that there is a single quote inside the string</p>
  
  <p>and i want to split it by hyphen symbol so the result would be </p>
  
  <pre><code>[0] Average Sized 
  [1] Mega Church!
  </code></pre>