title: Split string using Dojo/Dijit
body: <p>Here is my problem,</p>
  
  <p>I have a dojo/dijit multiselect list, so after a multiple select i need to split the result</p>
  
  <p>Example </p>
  
  <pre><code> var selecteted = dijit.byId('list1').attr('value');
  </code></pre>
  
  <p>let assume that selected = 'value 1,value2,value3';</p>
  
  <p>so afer i have multiple result i do as follow in order to split it</p>
  
  <pre><code>var splited = new Array();
  splited = selected.split(',');
  </code></pre>
  
  <p>but this code failed, for some reason the 'selected' variable is some dojo/dijit object which is not compatible with java script 'split' ...</p>
  
  <p>so i m wondering , is dojo has their own split implementation ?
  also i would be glad to share me your opinios..</p>
  
  <p>Thanks</p>
  
  <p>EDIT</p>
  
  <p>After a litle debug with Firebug i found out that 'selected' format is array, so actualy split is not necessary anymore. </p>