title: String Split not working
body: <p>I'm having a problem with splitting strings in Javascript in Max/MSP.</p>
  
  <p>outlet is the Max/MSP version of printf etc.</p>
  
  <p>The string splits weirdly, but it seems to only output both words comma seperated.</p>
  
  <pre><code>function sample_callback(args)  // Callback
  {
      var keyword=args;
      var trackname=keyword.toString().split(" ");
      var name = trackname[0]; // trackname[1] outputs nothing.
      outlet(0, name);
  }
  </code></pre>
  
  <p>Any help is greatly received.</p>