title: Actionscript - substring
body: <p>How does Actionscript handle the following substrings? 
  For the substrings below, what are the correct outputs?</p>
  
  <pre><code>var main = "1234567890"
  var output = substring(main, 5,1) // output = 
  var output = substring(main, 1,5) // output = 
  var output = substring(main, 0,5) // output = 
  var output = substring(main, 5,0) // output = 
  </code></pre>