Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

JavaScript: String Tokenization And Substring

DZone's Guide to

JavaScript: String Tokenization And Substring

· Web Dev Zone
Free Resource

Should you build your own web experimentation solution? Download this whitepaper by Optimizely to find out.

// Tokenize a comma-separated string 
// then recreate the comma-separated list


  var currentTagTokens = currentTags.split( "," );
  var existingTags = "";

  for ( var i = 0; i 

Implementing an Experimentation Solution: Choosing whether to build or buy?

Topics:
javascript

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}