DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

JavaScript String Tokenization

02.09.2007
| 4120 views |
  • submit to reddit
        //
// String Tokenization with JavaScript
// From http://www.thescripts.com/forum/thread91795.html
// 

function makeArray( strLongString )
{
  return strLongString.split( "," );
}