title: using RegExp to split string but store whitespace (space or crlf) to items
body: <p>sample input (orgtext =   a[crlf]b[space]c[crlf] )</p>
  
  <p>I like to store each word a,b, c to the words array with the original suffix crlf or space. Currently calling SPLIT drops the suffix as its separator, but I like to store separator as well.  Can I adjust regexp to return also suffix and still split?</p>
  
  <pre><code>Words = new Array; 
  var ar: Array = orgtext.split( /\s+/  );   
  
  for (var i:int = 0; i&lt;ar.length;i++ )
  {
  Words.push(  ar[i] +"suffix here" ); 
  }
  </code></pre>