<?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: Use String.Format (C# and VB.NET) instead of Chopping Strings</title>
	<atom:link href="http://www.sharpdeveloper.net/content/archive/2007/05/25/use-stringformat-instead-of-chopping-strings.aspx/feed" rel="self" type="application/rss+xml" />
	<link>http://www.sharpdeveloper.net/content/archive/2007/05/25/use-stringformat-instead-of-chopping-strings.aspx</link>
	<description>C# articles and tutorials on SharpDeveloper.NET</description>
	<lastBuildDate>Mon, 12 Dec 2011 15:06:31 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: LaverneB</title>
		<link>http://www.sharpdeveloper.net/content/archive/2007/05/25/use-stringformat-instead-of-chopping-strings.aspx/comment-page-1#comment-29532</link>
		<dc:creator>LaverneB</dc:creator>
		<pubDate>Fri, 25 Mar 2011 15:52:10 +0000</pubDate>
		<guid isPermaLink="false">http://migrate.sharpdeveloper.net/content/?p=23#comment-29532</guid>
		<description>I&#039;ve been reading this guide and it seems pretty straight forward.  Seems like a sweet way of backing up all your Wii games to a hard drive so that you don&#039;t have to keep putting the discs in.  The laser in my drive has been failing so it seems like a pretty good option. 
 
&lt;a href=&quot;http://bit.ly/egma82&quot; rel=&quot;nofollow&quot;&gt;How to Back Up and Play Your Wii Games from an External Hard Drive&lt;/a&gt; 
 
Has anyone actually tried this?  Is there any chance of breaking my Wii forever?  For those who have already tried it, did you get banned from playing online?</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been reading this guide and it seems pretty straight forward.  Seems like a sweet way of backing up all your Wii games to a hard drive so that you don&#8217;t have to keep putting the discs in.  The laser in my drive has been failing so it seems like a pretty good option. </p>
<p><a href="http://bit.ly/egma82" rel="nofollow">How to Back Up and Play Your Wii Games from an External Hard Drive</a> </p>
<p>Has anyone actually tried this?  Is there any chance of breaking my Wii forever?  For those who have already tried it, did you get banned from playing online?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sameer</title>
		<link>http://www.sharpdeveloper.net/content/archive/2007/05/25/use-stringformat-instead-of-chopping-strings.aspx/comment-page-1#comment-6</link>
		<dc:creator>Sameer</dc:creator>
		<pubDate>Thu, 31 May 2007 11:20:00 +0000</pubDate>
		<guid isPermaLink="false">http://migrate.sharpdeveloper.net/content/?p=23#comment-6</guid>
		<description>  Take a look at the performance String.Format at: http://blogs.msdn.com/ricom/archive/2004/03/12/88715.aspx

In summary, &quot;
Even though it&#039;s the worst performing, and we knew that much in advance, both of your CLR Performance Architects concur that #2 [Using String.Format] should be the default choice. In the highly unlikely event that it becomes a perf problem the issue is readily addressable with only modest local changes. Normally you&#039;re just cashing-in on some nice maintainability. We do not alter our choice given the data below&quot;</description>
		<content:encoded><![CDATA[<p>Take a look at the performance String.Format at: <a href="http://blogs.msdn.com/ricom/archive/2004/03/12/88715.aspx" rel="nofollow">http://blogs.msdn.com/ricom/archive/2004/03/12/88715.aspx</a></p>
<p>In summary, &#8221;<br />
Even though it&#8217;s the worst performing, and we knew that much in advance, both of your CLR Performance Architects concur that #2 [Using String.Format] should be the default choice. In the highly unlikely event that it becomes a perf problem the issue is readily addressable with only modest local changes. Normally you&#8217;re just cashing-in on some nice maintainability. We do not alter our choice given the data below&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sameer</title>
		<link>http://www.sharpdeveloper.net/content/archive/2007/05/25/use-stringformat-instead-of-chopping-strings.aspx/comment-page-1#comment-4</link>
		<dc:creator>Sameer</dc:creator>
		<pubDate>Wed, 30 May 2007 11:12:00 +0000</pubDate>
		<guid isPermaLink="false">http://migrate.sharpdeveloper.net/content/?p=23#comment-4</guid>
		<description>  Take a look at how much more readable your code is is after using string.format. This code takes a raw phone number and adds brackets to it for formatting (VB.NET example)

Before:

&#039;strPhone = &quot;(&quot; &amp; strPhone.Substring(0, 3) &amp; &quot;)&quot; &amp; strPhone.Substring(3, 3) &amp; _
&#039; &quot;-&quot; &amp; strPhone.Substring(6, 4)

After:

strPhone = string.Format(&quot;({0}){1}-{2}&quot;, strPhone.Substring(0, 3), strPhone.Substring(3, 3), strPhone.Substring(6, 4))</description>
		<content:encoded><![CDATA[<p>Take a look at how much more readable your code is is after using string.format. This code takes a raw phone number and adds brackets to it for formatting (VB.NET example)</p>
<p>Before:</p>
<p>&#8216;strPhone = &#8220;(&#8221; &#038; strPhone.Substring(0, 3) &#038; &#8220;)&#8221; &#038; strPhone.Substring(3, 3) &#038; _<br />
&#8216; &#8220;-&#8221; &#038; strPhone.Substring(6, 4)</p>
<p>After:</p>
<p>strPhone = string.Format(&#8220;({0}){1}-{2}&#8221;, strPhone.Substring(0, 3), strPhone.Substring(3, 3), strPhone.Substring(6, 4))</p>
]]></content:encoded>
	</item>
</channel>
</rss>

