title: ActionScript 3: get the first character from the first element of an array
body: <p>I am learning AS3 (coming from a PHP background) and I have hit a wall.</p>
  
  <p>Basically I have this code:</p>
  
  <pre><code>var activeNotesNames:Array;
  activeNotesNames = new Array;
  
  activeNotesNames.push("ABC");
  </code></pre>
  
  <p>and doing a </p>
  
  <pre><code>trace(activeNotesNames[0])
  </code></pre>
  
  <p>gives me "ABC" but if I just want the first character (in this case that would be "A") how do I get that?</p>
  
  <p>I tried <code>trace(activeNotesNames[0][0]</code> but that gives me an error.</p>