<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Beginner to Beginner: Splitting strings into arrays in Javascript</title>
	<atom:link href="http://www.hyperorg.com/blogger/2008/11/29/beginner-to-beginner-splitting-strings-into-arrays-in-javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hyperorg.com/blogger/2008/11/29/beginner-to-beginner-splitting-strings-into-arrays-in-javascript/</link>
	<description>Let's just see what happens</description>
	<lastBuildDate>Sun, 16 Jun 2013 09:24:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: davidw</title>
		<link>http://www.hyperorg.com/blogger/2008/11/29/beginner-to-beginner-splitting-strings-into-arrays-in-javascript/comment-page-1/#comment-39888</link>
		<dc:creator>davidw</dc:creator>
		<pubDate>Mon, 01 Dec 2008 05:40:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.hyperorg.com/blogger/2008/11/29/beginner-to-beginner-splitting-strings-into-arrays-in-javascript/#comment-39888</guid>
		<description><![CDATA[Karl, of course you can quote me. I&#039;m pleased. Feel free to link back to this post, but it&#039;s totally up to you. 

-- David W.]]></description>
		<content:encoded><![CDATA[<p>Karl, of course you can quote me. I&#8217;m pleased. Feel free to link back to this post, but it&#8217;s totally up to you. </p>
<p>&#8211; David W.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karl Arthur</title>
		<link>http://www.hyperorg.com/blogger/2008/11/29/beginner-to-beginner-splitting-strings-into-arrays-in-javascript/comment-page-1/#comment-39887</link>
		<dc:creator>Karl Arthur</dc:creator>
		<pubDate>Mon, 01 Dec 2008 02:36:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.hyperorg.com/blogger/2008/11/29/beginner-to-beginner-splitting-strings-into-arrays-in-javascript/#comment-39887</guid>
		<description><![CDATA[Hey David,
Do you mind if I use &quot;all explanations are approximate&quot; as a tagline for my blog? (I&#039;d have to translate it to Norwegian.) It seems to capture something. I won&#039;t credit you, as that would be quoting you out of context, and leave you wide open to accusations of adopting a relativist epistemology too. And I won&#039;t take it personally if you say no, but I probably won&#039;t buy your next book either. Nice work on the article above this, btw, I think professor Peterson has her adjectives and her nouns mixed up.
Cheers, Karl Arthur]]></description>
		<content:encoded><![CDATA[<p>Hey David,<br />
Do you mind if I use &#8220;all explanations are approximate&#8221; as a tagline for my blog? (I&#8217;d have to translate it to Norwegian.) It seems to capture something. I won&#8217;t credit you, as that would be quoting you out of context, and leave you wide open to accusations of adopting a relativist epistemology too. And I won&#8217;t take it personally if you say no, but I probably won&#8217;t buy your next book either. Nice work on the article above this, btw, I think professor Peterson has her adjectives and her nouns mixed up.<br />
Cheers, Karl Arthur</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: davidw</title>
		<link>http://www.hyperorg.com/blogger/2008/11/29/beginner-to-beginner-splitting-strings-into-arrays-in-javascript/comment-page-1/#comment-39867</link>
		<dc:creator>davidw</dc:creator>
		<pubDate>Sat, 29 Nov 2008 20:53:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.hyperorg.com/blogger/2008/11/29/beginner-to-beginner-splitting-strings-into-arrays-in-javascript/#comment-39867</guid>
		<description><![CDATA[Thanks, Seth. Joel thought &quot;split&quot; might take a regex, but the quick cheat sheet we consulted (we weren&#039;t online so we used the one in the IDE I use) didn&#039;t mention it. 

Joel&#039;s has the advantage of retaining the info about which delimiter was used, which is of particular importance when you&#039;re dealing with something like a simple boolean query, which was exactly what I wanted.]]></description>
		<content:encoded><![CDATA[<p>Thanks, Seth. Joel thought &#8220;split&#8221; might take a regex, but the quick cheat sheet we consulted (we weren&#8217;t online so we used the one in the IDE I use) didn&#8217;t mention it. </p>
<p>Joel&#8217;s has the advantage of retaining the info about which delimiter was used, which is of particular importance when you&#8217;re dealing with something like a simple boolean query, which was exactly what I wanted.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Seth Finkelstein</title>
		<link>http://www.hyperorg.com/blogger/2008/11/29/beginner-to-beginner-splitting-strings-into-arrays-in-javascript/comment-page-1/#comment-39866</link>
		<dc:creator>Seth Finkelstein</dc:creator>
		<pubDate>Sat, 29 Nov 2008 20:42:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.hyperorg.com/blogger/2008/11/29/beginner-to-beginner-splitting-strings-into-arrays-in-javascript/#comment-39866</guid>
		<description><![CDATA[/(I am confused) ^ (you are in error)/

You say:

&quot;but the split method only lets you specify one delimiter.&quot;

However, the documentation states:

&quot;Specifies the character, &lt;b&gt;regular expression&lt;/b&gt;, or substring that is used to determine where to split the string&quot;

Multiple delimiters should be able to be handled with a regular expression. That is, roughly

/OR&#124;AND/

More complicated (use boundaries):

 /\s*\bOR\b\s*&#124;\s*\bAND\s*\b/]]></description>
		<content:encoded><![CDATA[<p>/(I am confused) ^ (you are in error)/</p>
<p>You say:</p>
<p>&#8220;but the split method only lets you specify one delimiter.&#8221;</p>
<p>However, the documentation states:</p>
<p>&#8220;Specifies the character, <b>regular expression</b>, or substring that is used to determine where to split the string&#8221;</p>
<p>Multiple delimiters should be able to be handled with a regular expression. That is, roughly</p>
<p>/OR|AND/</p>
<p>More complicated (use boundaries):</p>
<p> /\s*\bOR\b\s*|\s*\bAND\s*\b/</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic page generated in 0.409 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2013-06-16 18:33:37 -->