<?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: Function to Count Words in C# (ASP.NET)</title>
	<atom:link href="http://www.thejackol.com/2006/06/23/function-to-count-words-in-c-aspnet/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thejackol.com/2006/06/23/function-to-count-words-in-c-aspnet/</link>
	<description>01100010 01101100 01100101 01101000</description>
	<lastBuildDate>Tue, 07 Feb 2012 21:10:47 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: akshay</title>
		<link>http://www.thejackol.com/2006/06/23/function-to-count-words-in-c-aspnet/comment-page-1/#comment-244393</link>
		<dc:creator>akshay</dc:creator>
		<pubDate>Sun, 27 Mar 2011 05:16:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.thejackol.com/2006/06/23/function-to-count-words-in-c-aspnet/#comment-244393</guid>
		<description>thanks dude.............. you saved my lots of time....</description>
		<content:encoded><![CDATA[<p>thanks dude&#8230;&#8230;&#8230;&#8230;.. you saved my lots of time&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: b2b</title>
		<link>http://www.thejackol.com/2006/06/23/function-to-count-words-in-c-aspnet/comment-page-1/#comment-189339</link>
		<dc:creator>b2b</dc:creator>
		<pubDate>Tue, 03 Feb 2009 22:59:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.thejackol.com/2006/06/23/function-to-count-words-in-c-aspnet/#comment-189339</guid>
		<description>I think the Regex reg = new Regex(”\w+”); is the easiest way here</description>
		<content:encoded><![CDATA[<p>I think the Regex reg = new Regex(”\w+”); is the easiest way here</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://www.thejackol.com/2006/06/23/function-to-count-words-in-c-aspnet/comment-page-1/#comment-89633</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Sat, 24 Nov 2007 12:45:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.thejackol.com/2006/06/23/function-to-count-words-in-c-aspnet/#comment-89633</guid>
		<description>Thanks buddy,

Simple and fast!
Codes like this make the work so smooth!</description>
		<content:encoded><![CDATA[<p>Thanks buddy,</p>
<p>Simple and fast!<br />
Codes like this make the work so smooth!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Swen K.</title>
		<link>http://www.thejackol.com/2006/06/23/function-to-count-words-in-c-aspnet/comment-page-1/#comment-81809</link>
		<dc:creator>Swen K.</dc:creator>
		<pubDate>Sun, 21 Oct 2007 14:55:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.thejackol.com/2006/06/23/function-to-count-words-in-c-aspnet/#comment-81809</guid>
		<description>try this:

        //using System.Text.RegularExpressions;
        public static int WordCount(string txt)
        {
            int w;
            Regex reg = new Regex(&quot;\\w+&quot;);
            MatchCollection mc = reg.Matches(txt);
            if (mc.Count &gt; 0)
                w = mc.Count;
            else
                w = 0;
            return w;
        }</description>
		<content:encoded><![CDATA[<p>try this:</p>
<p>        //using System.Text.RegularExpressions;<br />
        public static int WordCount(string txt)<br />
        {<br />
            int w;<br />
            Regex reg = new Regex(&#8221;&#92;w+&#8221;);<br />
            MatchCollection mc = reg.Matches(txt);<br />
            if (mc.Count &gt; 0)<br />
                w = mc.Count;<br />
            else<br />
                w = 0;<br />
            return w;<br />
        }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wes</title>
		<link>http://www.thejackol.com/2006/06/23/function-to-count-words-in-c-aspnet/comment-page-1/#comment-67484</link>
		<dc:creator>Wes</dc:creator>
		<pubDate>Tue, 03 Jul 2007 01:46:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.thejackol.com/2006/06/23/function-to-count-words-in-c-aspnet/#comment-67484</guid>
		<description>Thanks!!</description>
		<content:encoded><![CDATA[<p>Thanks!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: J</title>
		<link>http://www.thejackol.com/2006/06/23/function-to-count-words-in-c-aspnet/comment-page-1/#comment-36975</link>
		<dc:creator>J</dc:creator>
		<pubDate>Fri, 01 Dec 2006 19:35:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.thejackol.com/2006/06/23/function-to-count-words-in-c-aspnet/#comment-36975</guid>
		<description>Very useful.  Thanks.</description>
		<content:encoded><![CDATA[<p>Very useful.  Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aviral</title>
		<link>http://www.thejackol.com/2006/06/23/function-to-count-words-in-c-aspnet/comment-page-1/#comment-33261</link>
		<dc:creator>Aviral</dc:creator>
		<pubDate>Thu, 12 Oct 2006 10:14:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.thejackol.com/2006/06/23/function-to-count-words-in-c-aspnet/#comment-33261</guid>
		<description>Thanks dude.. your code is really good.. solved my problem in a jiffy..</description>
		<content:encoded><![CDATA[<p>Thanks dude.. your code is really good.. solved my problem in a jiffy..</p>
]]></content:encoded>
	</item>
</channel>
</rss>

