<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DZone Snippets: tokenization code</title>
    <link>http://snippets.dzone.com/posts</link>
    <pubDate>Sun, 27 Jul 2008 02:06:59 GMT</pubDate>
    <description>DZone Snippets: tokenization code</description>
    <item>
      <title>JavaScript: String Tokenization and Substring</title>
      <link>http://snippets.dzone.com/posts/show/3608</link>
      <description>// Tokenize a comma-separated string &lt;br /&gt;// then recreate the comma-separated list&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;  var currentTagTokens = currentTags.split( "," );&lt;br /&gt;  var existingTags = "";&lt;br /&gt;&lt;br /&gt;  for ( var i = 0; i &lt; currentTagTokens.length; i++ )&lt;br /&gt;  {&lt;br /&gt;    existingTags = existingTags + currentTagTokens[ i ] + ", ";&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  // Remove the trailing ", " from existingTags&lt;br /&gt;  existingTags = existingTags.substring( 0, existingTags.length - 3 ); &lt;br /&gt;&lt;/code&gt;</description>
      <pubDate>Thu, 01 Mar 2007 11:01:14 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/3608</guid>
      <author>thitiv (Thiti V. Sintopchai)</author>
    </item>
    <item>
      <title>JavaScript String Tokenization</title>
      <link>http://snippets.dzone.com/posts/show/3485</link>
      <description>//&lt;br /&gt;// String Tokenization with JavaScript&lt;br /&gt;// From http://www.thescripts.com/forum/thread91795.html&lt;br /&gt;// &lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;function makeArray( strLongString )&lt;br /&gt;{&lt;br /&gt;  return strLongString.split( "," );&lt;br /&gt;}&lt;br /&gt;&lt;/code&gt;</description>
      <pubDate>Fri, 09 Feb 2007 15:50:40 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/3485</guid>
      <author>thitiv (Thiti V. Sintopchai)</author>
    </item>
  </channel>
</rss>
