<?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: Trimming a String in JavaScript</title>
	<atom:link href="http://blog.crankybit.com/trimming-a-string-in-javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.crankybit.com/trimming-a-string-in-javascript/</link>
	<description>Take a byte out of tech!</description>
	<lastBuildDate>Wed, 08 Feb 2012 15:54:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Raye Romeno</title>
		<link>http://blog.crankybit.com/trimming-a-string-in-javascript/#comment-107029</link>
		<dc:creator>Raye Romeno</dc:creator>
		<pubDate>Fri, 26 Aug 2011 14:04:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/?p=307#comment-107029</guid>
		<description>RegEx provides a concise and flexible means for matching strings of text, such as particular characters, words, or patterns of characters. A regular expression is written in a formal language that can be interpreted by a regular expression processor, a program that either serves as a parser generator or examines text and identifies parts that match the provided specification.

Though it has controversies lying under it. It is always useful.</description>
		<content:encoded><![CDATA[<p>RegEx provides a concise and flexible means for matching strings of text, such as particular characters, words, or patterns of characters. A regular expression is written in a formal language that can be interpreted by a regular expression processor, a program that either serves as a parser generator or examines text and identifies parts that match the provided specification.</p>
<p>Though it has controversies lying under it. It is always useful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ted Faylon</title>
		<link>http://blog.crankybit.com/trimming-a-string-in-javascript/#comment-104216</link>
		<dc:creator>Ted Faylon</dc:creator>
		<pubDate>Wed, 03 Aug 2011 02:31:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/?p=307#comment-104216</guid>
		<description>Apparently there is some controversy over the exact RegEx to most efficiently trim, depending on what level of white space you trim out.</description>
		<content:encoded><![CDATA[<p>Apparently there is some controversy over the exact RegEx to most efficiently trim, depending on what level of white space you trim out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh</title>
		<link>http://blog.crankybit.com/trimming-a-string-in-javascript/#comment-17841</link>
		<dc:creator>Josh</dc:creator>
		<pubDate>Tue, 15 Jul 2008 22:01:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/?p=307#comment-17841</guid>
		<description>The code view plugin for WP apparently gobbled up the backslashes in the code for the trimming function. It&#039;s correct now. Thanks Ray.</description>
		<content:encoded><![CDATA[<p>The code view plugin for WP apparently gobbled up the backslashes in the code for the trimming function. It&#8217;s correct now. Thanks Ray.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh</title>
		<link>http://blog.crankybit.com/trimming-a-string-in-javascript/#comment-17424</link>
		<dc:creator>Josh</dc:creator>
		<pubDate>Thu, 03 Jul 2008 16:39:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/?p=307#comment-17424</guid>
		<description>Lol I love it. I still have plenty of legacy code with dozens of lines manipulating strings to pull out various bits of data that would be accessible in a line or two of RegEx. Amazing.

Apparently there is some controversy over the exact RegEx to most efficiently trim, depending on what level of white space you trim out. I&#039;m not so picky, I was using it to trim content from an input form field, so there isn&#039;t much more than spaces to worry about. :-)</description>
		<content:encoded><![CDATA[<p>Lol I love it. I still have plenty of legacy code with dozens of lines manipulating strings to pull out various bits of data that would be accessible in a line or two of RegEx. Amazing.</p>
<p>Apparently there is some controversy over the exact RegEx to most efficiently trim, depending on what level of white space you trim out. I&#8217;m not so picky, I was using it to trim content from an input form field, so there isn&#8217;t much more than spaces to worry about. <img src='http://blog.crankybit.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jennifer</title>
		<link>http://blog.crankybit.com/trimming-a-string-in-javascript/#comment-17423</link>
		<dc:creator>Jennifer</dc:creator>
		<pubDate>Thu, 03 Jul 2008 15:54:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.crankybit.com/?p=307#comment-17423</guid>
		<description>http://xkcd.com/208/

The same solution with straight up JavaScript is like 30 or 40 lines. I had a function to do this and had found the trimming regular expression and laughed at the glaring difference. Regular expressions are amazing.</description>
		<content:encoded><![CDATA[<p><a href="http://xkcd.com/208/" rel="nofollow">http://xkcd.com/208/</a></p>
<p>The same solution with straight up JavaScript is like 30 or 40 lines. I had a function to do this and had found the trimming regular expression and laughed at the glaring difference. Regular expressions are amazing.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

