<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>.NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx</link><description>.NET Format String Strings C# VB String.Format Microsoft CLR BCL</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#566398</link><pubDate>Sat, 01 Apr 2006 08:56:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:566398</guid><dc:creator>Barry Kelly</dc:creator><description>The best thing would be to try and get some improvement on MSDN. Every time I need to look up String.Format on MSDN, I waste about 15 minutes trying to find and figure out what I need.
&lt;br&gt;
&lt;br&gt;Usually what I'm looking for is the equivalent of &amp;quot;%10.3f&amp;quot; or similar in C/C++, and I keep forgetting the .NET equivalent. It might be useful to include a translation from familiar (to us old fogeys) printf-style format strings to the .NET style.
&lt;br&gt;
&lt;br&gt;At this stage, I've learned that it is {0,10:F3} (or whatever index), but it took pavlovian pain to remember.</description></item><item><title>Interesting Finds</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#566480</link><pubDate>Sat, 01 Apr 2006 13:34:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:566480</guid><dc:creator>Jason Haley</dc:creator><description /></item><item><title>re: Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#567064</link><pubDate>Mon, 03 Apr 2006 08:42:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:567064</guid><dc:creator>KathyKam</dc:creator><description>We're having a doc update pretty soon. I'm also working closely with our doc team to get some of the stuff I publish here (or some of the stuff the team publish at BCLWeblog)updated on MSDN as well. If you find a particular area confusing, let us know!</description></item><item><title>Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#567332</link><pubDate>Mon, 03 Apr 2006 18:38:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:567332</guid><dc:creator>AntonioGanci</dc:creator><description /></item><item><title>re: Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#567463</link><pubDate>Mon, 03 Apr 2006 21:26:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:567463</guid><dc:creator>mikeb</dc:creator><description>I'm happy to find out that I'm not the only one who found it difficult to locate this information in MSDN.
&lt;br&gt;
&lt;br&gt;I have no problems with the basics of .NET string formatting, but it has always been a pain to locate the custom format strings.
&lt;br&gt;</description></item><item><title>string.Format</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#576562</link><pubDate>Fri, 14 Apr 2006 21:18:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:576562</guid><dc:creator>Outta My Mind...</dc:creator><description /></item><item><title>.NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#581132</link><pubDate>Sat, 22 Apr 2006 05:37:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:581132</guid><dc:creator>-:[web caboodle]:-</dc:creator><description /></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#581777</link><pubDate>Mon, 24 Apr 2006 01:06:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:581777</guid><dc:creator>Johan Asp</dc:creator><description>very good post..&lt;br&gt;&lt;br&gt;&lt;br&gt;thank you!</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#588857</link><pubDate>Wed, 03 May 2006 05:12:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:588857</guid><dc:creator>Brett</dc:creator><description>I agree with the above--very good post. &amp;nbsp;Simple and to the point.&lt;br&gt;&lt;br&gt;Brett</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#593838</link><pubDate>Tue, 09 May 2006 21:53:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:593838</guid><dc:creator>Matt</dc:creator><description>I agree, this has been very helpful! &lt;BR&gt;&lt;BR&gt;&amp;lt;adds to favorites&amp;gt; &lt;BR&gt;&lt;BR&gt;Good job!</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#606997</link><pubDate>Thu, 25 May 2006 14:04:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:606997</guid><dc:creator>gfh</dc:creator><description>company.CreditLimit.TOSTRING.format(&amp;quot;{0:F2}&amp;quot;,company.CreditLimit) </description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#612980</link><pubDate>Thu, 01 Jun 2006 17:10:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:612980</guid><dc:creator>Umair</dc:creator><description>Very good post. I agree that its extremely difficult to search on MSDN. MSDN should be upgraded to have good search feature.</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#613012</link><pubDate>Thu, 01 Jun 2006 17:58:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:613012</guid><dc:creator>chrisslatt</dc:creator><description>I always fall back on this post as a reference:&lt;br&gt;&lt;br&gt;&lt;a rel="nofollow" target="_new" href="http://blog.stevex.net/index.php/string-formatting-in-csharp/"&gt;http://blog.stevex.net/index.php/string-formatting-in-csharp/&lt;/a&gt;&lt;br&gt;&lt;br&gt;Short, sweet and to the point.</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#614149</link><pubDate>Fri, 02 Jun 2006 14:08:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:614149</guid><dc:creator>kjetil</dc:creator><description>Very helpful. The MSDN help is hard to locate and hard to use. Here I got the info I need with the exsamples it need. Simple and clean. You should copy this almost &amp;quot;as is&amp;quot; into the MSDN and leave what's there for &amp;quot;additional info&amp;quot;.&lt;br&gt;Thanks!</description></item><item><title>.NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#614424</link><pubDate>Fri, 02 Jun 2006 20:27:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:614424</guid><dc:creator>Clay Chang: blog</dc:creator><description>Glad to find that I am not the only one who wants a good reference on .NET string formatting.&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/kathykam/archive/2006/03/29/564426.aspx-cla"&gt;http://blogs.msdn.com/kathykam/archive/2006/03/29/564426.aspx-cla&lt;/a&gt;...</description></item><item><title>Benjamin Gan  &amp;raquo; Blog Archive   &amp;raquo; .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#615711</link><pubDate>Sat, 03 Jun 2006 09:31:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:615711</guid><dc:creator>Benjamin Gan  » Blog Archive   » .NET Format String 101</dc:creator><description>PingBack from &lt;a rel="nofollow" target="_new" href="http://benjamingan.wordpress.com/2006/06/03/net-format-string-101-2/"&gt;http://benjamingan.wordpress.com/2006/06/03/net-format-string-101-2/&lt;/a&gt;</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#620724</link><pubDate>Wed, 07 Jun 2006 15:22:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:620724</guid><dc:creator>Wolfgang Kaisers</dc:creator><description>Excellent Information.&lt;br&gt;&lt;br&gt;I was looking for a simple problem like &amp;quot;How do I add leading zeros to a String representing a Number so that it has a fixed length (e.g. 04 and 10)?&amp;quot;&lt;br&gt;&lt;br&gt;The msdn sites are too complex in this topic and contain no useful Examples therefore I really appreciate this site.</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#628196</link><pubDate>Mon, 12 Jun 2006 17:33:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:628196</guid><dc:creator>km_rau</dc:creator><description>I wish i had found this two or three hours before. It would have saved a good piece of time. Yet i'm still looking for the answer to a simple question: How can i format an integer to a string of a fixed length with leading spaces? I mean, how do i format the integer 26 to &amp;quot; 26&amp;quot; and 9 to &amp;quot; &amp;nbsp;9&amp;quot;?</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#631882</link><pubDate>Thu, 15 Jun 2006 08:14:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:631882</guid><dc:creator>Kannan</dc:creator><description>This is a good one for the msdn wiki.</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#670346</link><pubDate>Wed, 19 Jul 2006 03:10:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:670346</guid><dc:creator>KathyKam</dc:creator><description>Thank you so much for the great positive feedback! I have pinged our UE manager about the issues with string format (along with some of your feedback about MSDN). Hopefully, we can roll out a change in the next release.</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#674081</link><pubDate>Fri, 21 Jul 2006 21:03:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:674081</guid><dc:creator>Salai</dc:creator><description>I need help on how do we format&lt;br&gt;in a text box &lt;br&gt;like putting commas to represent the currencyvalue&lt;br&gt;example&lt;br&gt;&lt;br&gt;amount = 12,223,333&lt;br&gt;when ever we tried to change the display has to change to the normal value</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#690917</link><pubDate>Mon, 07 Aug 2006 16:13:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:690917</guid><dc:creator>Anilk</dc:creator><description>Very good repository of various Formating options. </description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#691297</link><pubDate>Mon, 07 Aug 2006 22:10:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:691297</guid><dc:creator>Alan Howard</dc:creator><description>Very nice description.&lt;br&gt;&lt;br&gt;Now, how do you format the equivalent of&lt;br&gt;&lt;br&gt;int &amp;nbsp;width = 7;&lt;br&gt;int value = 10;&lt;br&gt;printf (&amp;quot;%*d&amp;quot;, width, value);&lt;br&gt;&lt;br&gt;</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#704248</link><pubDate>Thu, 17 Aug 2006 17:06:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:704248</guid><dc:creator>Jay Gulati</dc:creator><description>I like the arrticle and is very helpful and I do need to goto this page all the time.&lt;br&gt;Here is another link which has date formats also included.&lt;br&gt;&lt;a rel="nofollow" target="_new" href="http://msdn2.microsoft.com/en-us/library/1ksz8yb7.aspx"&gt;http://msdn2.microsoft.com/en-us/library/1ksz8yb7.aspx&lt;/a&gt;</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#750177</link><pubDate>Tue, 12 Sep 2006 07:18:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:750177</guid><dc:creator>David</dc:creator><description>Very handy post with great explanations and examples. &amp;nbsp;The fixed point formatting was just what I needed. &amp;nbsp;Cheers for knowledge KK.</description></item><item><title>.NET Format String 102: DateTime Format String</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#777669</link><pubDate>Sat, 30 Sep 2006 04:18:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:777669</guid><dc:creator>Kathy Kam</dc:creator><description>&amp;amp;quot;I see stuff like&amp;amp;amp;nbsp;&amp;amp;quot;zz&amp;amp;quot; passed into DateTime.ToString(). What exactly does that do?&amp;amp;quot; -- Very Confused...</description></item><item><title>.NET Format String 102: DateTime Format String</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#786408</link><pubDate>Tue, 03 Oct 2006 21:03:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:786408</guid><dc:creator>Kathy Kam</dc:creator><description>&lt;p&gt;&amp;quot;I see stuff like &amp;quot;zz&amp;quot; passed into DateTime.ToString(). What exactly does that do?&amp;quot; -- Very Confused&lt;/p&gt;
</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#794385</link><pubDate>Thu, 05 Oct 2006 22:01:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:794385</guid><dc:creator>Ericson Mar</dc:creator><description>BUG...

“{0:#0.00}” supposed to yeild 2 decimal places always right?

This doesn’t work (at lease not with the decimal type). I tried multiple cases and it just doesn’t do anything to the format.

It’s weird. I tried “{0:#,##0.00}” and it works for ONLY values &gt; 1000.</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#794423</link><pubDate>Thu, 05 Oct 2006 22:21:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:794423</guid><dc:creator>KathyKam</dc:creator><description>&lt;P&gt;Hi Ericson Mar,&lt;/P&gt;
&lt;P&gt;Using .NET framework 2.0&lt;/P&gt;
&lt;P&gt;Console.WriteLine("{0:#0.00}", 1); &lt;/P&gt;
&lt;P&gt;writes "1.00" for me. &lt;/P&gt;
&lt;P&gt;Console.WriteLine("{0:#,##0.00}", 1); &lt;/P&gt;
&lt;P&gt;writes "1.00" for me as well.&lt;/P&gt;
&lt;P&gt;If you honestly think there is a bug, try submitting it here: &lt;A href="http://connect.microsoft.com/"&gt;http://connect.microsoft.com/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Kathy&lt;/P&gt;</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#796517</link><pubDate>Fri, 06 Oct 2006 17:54:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:796517</guid><dc:creator>Ericson Mar</dc:creator><description>OK, I narrowed down the bug.

Using .NET 1.1.

When I do and excel export...
Response.ContentType = "application/vnd.ms-excel";
 
...the "{0:#0.00}", "{0:#,##0.00}" formatting only works for &lt; 1000.  Specifically, I used a Datagrid (not sure which part is buggy).  But when I just display it on the page, the formatting works.</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#797487</link><pubDate>Sat, 07 Oct 2006 00:09:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:797487</guid><dc:creator>KathyKam</dc:creator><description>&lt;p&gt;Hi Ericson Mar,&lt;/p&gt;
&lt;p&gt;It's best for you to submit your issues via &lt;a rel="nofollow" target="_new" href="http://connect.microsoft.com"&gt;http://connect.microsoft.com&lt;/a&gt;. Someone at Microsoft can help you narrow down your issue to see whether it is really a bug.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Kathy&lt;/p&gt;
</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#883971</link><pubDate>Fri, 27 Oct 2006 23:55:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:883971</guid><dc:creator>jsm</dc:creator><description>&lt;p&gt;The link for DateTime format specifiers is incorrect. &amp;nbsp;The correct link is (I think):&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconcustomdatetimeformatstrings.asp"&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconcustomdatetimeformatstrings.asp&lt;/a&gt;&lt;/p&gt;</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#1276566</link><pubDate>Wed, 13 Dec 2006 20:46:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1276566</guid><dc:creator>Stephan Samuel</dc:creator><description>&lt;p&gt;@Alan Howard:&lt;/p&gt;
&lt;p&gt;Now, how do you format the equivalent of &lt;/p&gt;
&lt;p&gt;int &amp;nbsp;width = 7; &lt;/p&gt;
&lt;p&gt;int value = 10; &lt;/p&gt;
&lt;p&gt;printf (&amp;quot;%*d&amp;quot;, width, value); &lt;/p&gt;
&lt;p&gt;Use:&lt;/p&gt;
&lt;p&gt;myString = String.Format(String.Format(&amp;quot;{{0:F{0}}&amp;quot;, width), value);&lt;/p&gt;
&lt;p&gt;Something similar to that, using the concept that the format string can be made from a formatted string.&lt;/p&gt;
&lt;p&gt;Stephan&lt;/p&gt;</description></item><item><title>Scott&amp;#8217;s Blog &amp;raquo; String.Format is your friend</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#1394011</link><pubDate>Mon, 01 Jan 2007 19:36:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1394011</guid><dc:creator>Scott’s Blog » String.Format is your friend</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://scottlaw.knot.org/blog/?p=173"&gt;http://scottlaw.knot.org/blog/?p=173&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#1405481</link><pubDate>Wed, 03 Jan 2007 20:50:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1405481</guid><dc:creator>harrra1</dc:creator><description>&lt;p&gt;Very good read. &amp;nbsp;Brief, exact and to the point. &amp;nbsp;YEAH!!!!&lt;/p&gt;
</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#1455075</link><pubDate>Fri, 12 Jan 2007 15:12:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1455075</guid><dc:creator>rajesh</dc:creator><description>&lt;p&gt;really good post................&lt;/p&gt;</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#1509377</link><pubDate>Mon, 22 Jan 2007 22:41:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1509377</guid><dc:creator>billys</dc:creator><description>&lt;p&gt;Hello! I am Billy Johnson Nice design. Enjoy! Good site! OK. 0n79p7k .&lt;/p&gt;</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#1589272</link><pubDate>Sat, 03 Feb 2007 13:41:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1589272</guid><dc:creator>Geoff</dc:creator><description>&lt;p&gt;I think your description for the lines below might be incorrect??&lt;/p&gt;
&lt;p&gt;String.Format(&amp;quot;{0:N4}&amp;quot;, pos); &amp;nbsp; &amp;nbsp; &amp;nbsp;//&amp;quot;10&amp;quot;&lt;/p&gt;
&lt;p&gt;String.Format(&amp;quot;{0:N4}&amp;quot;, neg); &amp;nbsp; &amp;nbsp; &amp;nbsp;//&amp;quot;-10&amp;quot; &amp;nbsp; &amp;nbsp; &lt;/p&gt;
&lt;p&gt;Did you mean output ?&lt;/p&gt;
&lt;p&gt;// &amp;quot;10.0000&amp;quot;&lt;/p&gt;
&lt;p&gt;// &amp;quot;-10.0000&amp;quot;&lt;/p&gt;</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#1684581</link><pubDate>Thu, 15 Feb 2007 19:34:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1684581</guid><dc:creator>Johan</dc:creator><description>&lt;p&gt;I'm trying to change the decimal point that is used by Format() from &amp;quot;,&amp;quot; (the default in my country) to &amp;quot;.&amp;quot;.&lt;/p&gt;
&lt;p&gt;How can I do this?&lt;/p&gt;</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#1880123</link><pubDate>Wed, 14 Mar 2007 14:05:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1880123</guid><dc:creator>kburn</dc:creator><description>&lt;p&gt;nice article..&lt;/p&gt;
&lt;p&gt;it helped me get out of troubles :)&lt;/p&gt;
&lt;p&gt;thx&lt;/p&gt;</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#1988522</link><pubDate>Thu, 29 Mar 2007 16:40:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1988522</guid><dc:creator>Kimi Rakkionen</dc:creator><description>&lt;p&gt;Pls help me in Beginners level&lt;/p&gt;</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#2010127</link><pubDate>Mon, 02 Apr 2007 09:21:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2010127</guid><dc:creator>Miek</dc:creator><description>&lt;p&gt;Want to find something on MSDN? Use Google;)&lt;/p&gt;</description></item><item><title>Formatieren mit .NET</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#2112552</link><pubDate>Fri, 13 Apr 2007 12:51:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2112552</guid><dc:creator>Thorsten's Blog</dc:creator><description>&lt;p&gt;Eine &amp;#220;bersicht gibt es hier:&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/kathykam/archive/2006/03/29/564426.aspxhttp://blogs.msdn.com/kathykam/archive/2006/09/29/.NET-Format-String-102_3A00_-DateTime-Format-String.aspx"&gt;http://blogs.msdn.com/kathykam/archive/2006/03/29/564426.aspxhttp://blogs.msdn.com/kathykam/archive/2006/09/29/.NET-Format-String-102_3A00_-DateTime-Format-String.aspx&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#2319264</link><pubDate>Sun, 29 Apr 2007 05:22:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2319264</guid><dc:creator>Phil</dc:creator><description>&lt;p&gt;I always knew how to format a date that has a leading zero if necessary with the Microsoft.VisualBasic namespace, but I wanted to do it in .NET2. &amp;nbsp;After a days of searching, I finally found how to do it by piecing together bits of a page here and there. But I asked &amp;nbsp;myself, if I wanted to do percentage, or currency, how would I do those? &amp;nbsp;I used Google to try to find out, but to no avail. &lt;/p&gt;
&lt;p&gt;I then heard about DotNet Developer's Search Engine from Dan Appleman on DotNet Rocks. &amp;nbsp;With that search engine, I found this web page. &amp;nbsp;This article is awesome! &amp;nbsp;For my vote, I'd like to see more articles on MSDN content like this.&lt;/p&gt;</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#2325782</link><pubDate>Sun, 29 Apr 2007 17:39:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2325782</guid><dc:creator>Phil</dc:creator><description>&lt;p&gt;I always knew how to format a date that has a leading zero if necessary with the Microsoft.VisualBasic namespace, but I wanted to do it in .NET2. &amp;nbsp;After a days of searching, I finally found how to do it by piecing together bits of a page here and there. But I asked &amp;nbsp;myself, if I wanted to do percentage, or currency, how would I do those? &amp;nbsp;I used Google to try to find out, but to no avail. &lt;/p&gt;
&lt;p&gt;I then heard about DotNet Developer's Search Engine from Dan Appleman on DotNet Rocks. &amp;nbsp;With that search engine, I found this web page. &amp;nbsp;This article is awesome! &amp;nbsp;For my vote, I'd like to see more articles on MSDN content like this.&lt;/p&gt;</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#3521320</link><pubDate>Mon, 25 Jun 2007 18:01:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3521320</guid><dc:creator>Lew Grant</dc:creator><description>&lt;p&gt;Thanks, this was very helpful, why can't MSDN include articles as good as this?&lt;/p&gt;</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#3677919</link><pubDate>Wed, 04 Jul 2007 02:27:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3677919</guid><dc:creator>miamidot</dc:creator><description>&lt;p&gt;Where can I find the list of formatting rules? I don't wish to depend on a blog page to find out the formatting rules. I also don't wish to depend on examples which do not give me an exhaustive set of rules.&lt;/p&gt;
&lt;p&gt;When I look in java or c++ println or printf manual pages, the link to the sprintf formatting characters and rules are part of the page.&lt;/p&gt;
&lt;p&gt;Let's say b is a byte array of 3 elements {0xa7, 0x6f, 0xdd}. I would like to print b as &amp;quot;A7 6F DD &amp;quot;. So I attempted&lt;/p&gt;
&lt;p&gt;String.Format((string)fmt, (byte[]) b);&lt;/p&gt;
&lt;p&gt;What should variable fmt be:&lt;/p&gt;
&lt;p&gt;fmt = &amp;quot;{0:X}&amp;quot; - no it didn't work&lt;/p&gt;
&lt;p&gt;fmt = &amp;quot;{X}&amp;quot; - oops, formatting exception.&lt;/p&gt;
&lt;p&gt;I cannot find any example showing how to format to output an array. Neither could I find the formatting rules to output an array.&lt;/p&gt;
&lt;p&gt;When I read the java or c++ manual pages, the word &amp;quot;format&amp;quot; is a link to the sprintf rules. Why can't MSDN simply place a link under the word &amp;quot;format&amp;quot; to the formatting rules right in the manual page of String.Format? Why do I have to search high and low in an attempt to locate the formatting rules?&lt;/p&gt;</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#3957523</link><pubDate>Thu, 19 Jul 2007 19:32:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3957523</guid><dc:creator>mel</dc:creator><description>&lt;p&gt;The msdn is really lacking these days. &amp;nbsp;That is how I came to this post. &amp;nbsp;I am starting to stay away from all links that I see pointing to it.&lt;/p&gt;</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#4037337</link><pubDate>Wed, 25 Jul 2007 06:05:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4037337</guid><dc:creator>Darren</dc:creator><description>&lt;p&gt;Good article. &amp;nbsp;Out of interest, does anyone know how to force a leading sign, eg. -10 would show '-10', 10 would show '+10'?&lt;/p&gt;</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#4402634</link><pubDate>Wed, 15 Aug 2007 20:21:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4402634</guid><dc:creator>CJLopez</dc:creator><description>&lt;p&gt;Finally, someone who explains clearly how to use the format string.&lt;/p&gt;
&lt;p&gt;I just lose like 2 hours trying to understand what is on the msdn about the format string. Yeah, they the examples, but here i can find even more specific info about the formats, thanks, i hope all the explanation of every aspect of msdn would be like you state this, xD&lt;/p&gt;</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#4481074</link><pubDate>Mon, 20 Aug 2007 18:51:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4481074</guid><dc:creator>Advait Supnekar</dc:creator><description>&lt;p&gt;Very good article... resolved my queries!&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#4482764</link><pubDate>Mon, 20 Aug 2007 20:24:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4482764</guid><dc:creator>CJLopez</dc:creator><description>&lt;p&gt;Just a little question. I got a date on the format dd/mm/yyyy and i need it to be formated yyyymmdd so i just split the date using the slash carachter, and then i just readded to the original date variable but then, to reformat a 1 digit number, like march that is the third month, i wanted to be 03, i tried to format it with {0:D2} but i never came to get what I wanted, the code goes like this:&lt;/p&gt;
&lt;p&gt;date() = act_date.ToString.Split(&amp;quot;/&amp;quot;)&lt;/p&gt;
&lt;p&gt;act_date = date(2) + String.Format(&amp;quot;{0:D2}&amp;quot;, date(1)) + String.Format(&amp;quot;{0:D2}&amp;quot;, date(0))&lt;/p&gt;
&lt;p&gt;The result always was yyyymd, does this kind of format only works on integer? if so, how can i make it work for strings?&lt;/p&gt;</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#4528731</link><pubDate>Thu, 23 Aug 2007 20:35:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4528731</guid><dc:creator>codputer</dc:creator><description>&lt;p&gt;Editorial Comment - Are you kidding? &amp;nbsp;I have been looking for something like this for ages! &amp;nbsp;I've printed it off and given to everyone of my developers. &amp;nbsp;It now hangs proudly in everyones cubicle@&lt;/p&gt;</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#4722816</link><pubDate>Mon, 03 Sep 2007 15:07:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4722816</guid><dc:creator>jeza</dc:creator><description>&lt;p&gt;hot to use String.Format to show only specified length of chars?&lt;/p&gt;
&lt;p&gt;String a = &amp;quot;abcdefghijk&amp;quot;;&lt;/p&gt;
&lt;p&gt;i wanna it so it shows only first 5 chars (&amp;quot;abcde&amp;quot;)&lt;/p&gt;
&lt;p&gt;Console.WriteLine(String.Format(&amp;quot;{0,?:?}&amp;quot;, a));&lt;/p&gt;</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#4812692</link><pubDate>Fri, 07 Sep 2007 20:16:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4812692</guid><dc:creator>Alister</dc:creator><description>&lt;p&gt;To force output to have a leading sign&lt;/p&gt;
&lt;p&gt;String.Format(&amp;quot;+0;-0;0&amp;quot;, 10) &lt;/p&gt;
&lt;p&gt;will do it.&lt;/p&gt;
&lt;p&gt;It goes &amp;quot;format for positive;format for negative; format for zero&amp;quot;&lt;/p&gt;
&lt;p&gt;If you use this type of format the sign is suppressed so you have to explicitly put it in the formatting string&lt;/p&gt;</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#4869392</link><pubDate>Tue, 11 Sep 2007 23:21:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4869392</guid><dc:creator>Dan</dc:creator><description>&lt;p&gt;Can I use string.format to take a value that is equal to A or I and replace the A with Active and I with Inactive?&lt;/p&gt;</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#5651132</link><pubDate>Wed, 24 Oct 2007 17:51:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5651132</guid><dc:creator>John</dc:creator><description>&lt;p&gt;Thanks for this page. &amp;nbsp;It looks like this page was offered as help, over a year ago, and MSDN still hasn't gotten it.&lt;/p&gt;
&lt;p&gt;I found this page by searching google. &amp;nbsp;Searching &amp;amp; looking through MSDN for a similar page, with this information that was sanely &amp;amp; logically laid out, was a huge waste of time.&lt;/p&gt;</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#6648759</link><pubDate>Tue, 04 Dec 2007 06:38:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6648759</guid><dc:creator>Hal</dc:creator><description>&lt;p&gt;this is great, solve my problem&lt;/p&gt;</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#6766952</link><pubDate>Fri, 14 Dec 2007 05:27:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6766952</guid><dc:creator>Brian</dc:creator><description>&lt;p&gt;Thanks - ever thought of re-writing the MS .net documentation (someone ought to!)?&lt;/p&gt;
&lt;p&gt;You resolved my problem on how to format a float to a 2DP string in &amp;lt;20 seconds - Microsoft books and web seem to think formatting examples and info are a state secret - oh and take you round in circles :)&lt;/p&gt;
&lt;p&gt;Brian&lt;/p&gt;</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#6885862</link><pubDate>Fri, 28 Dec 2007 18:13:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6885862</guid><dc:creator>Siddharth</dc:creator><description>&lt;p&gt;Really a good post and helpful&lt;/p&gt;</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#6969083</link><pubDate>Thu, 03 Jan 2008 18:56:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6969083</guid><dc:creator>Symo</dc:creator><description>&lt;p&gt;Very useful info - won't need my 'Formats you can never find.doc' I made out of frustration at the poor MSDN help on string formats any more :)&lt;/p&gt;</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#7287104</link><pubDate>Mon, 28 Jan 2008 16:49:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7287104</guid><dc:creator>Mark B</dc:creator><description>&lt;p&gt;Thanks - you helped with my leading zeros issue - when trying to convert seconds into a string of HH:MM:SS.&lt;/p&gt;
&lt;p&gt;Resulting formula thanks to you is&lt;/p&gt;
&lt;p&gt;string.format(&amp;quot;{0:00}:{1:00}:{2:00}&amp;quot;,Hours,Minutes,RemainingSeconds)&lt;/p&gt;</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#7431220</link><pubDate>Mon, 04 Feb 2008 12:02:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7431220</guid><dc:creator>ThaiDev</dc:creator><description>&lt;p&gt;Thanks, but i have some question&lt;/p&gt;
&lt;p&gt;Can I trim data in place holder ?&lt;/p&gt;
&lt;p&gt;ex : string.Format(&amp;quot;{0}&amp;quot;, &amp;quot;abc &amp;nbsp; &amp;nbsp;&amp;quot;)&lt;/p&gt;</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#8115752</link><pubDate>Sun, 09 Mar 2008 04:53:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8115752</guid><dc:creator>Mohamed Faramawi</dc:creator><description>&lt;p&gt;Interesting post and excellent reference , it was always hard to me to remember formatting tricks, but good you gathered them out and put it here for us. Thanks!&lt;/p&gt;</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#8185685</link><pubDate>Thu, 13 Mar 2008 23:22:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8185685</guid><dc:creator>Gurjeet Saini</dc:creator><description>&lt;p&gt;Very useful Custom formatting info of .NET Format String&lt;/p&gt;</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#8552157</link><pubDate>Mon, 26 May 2008 12:43:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8552157</guid><dc:creator>Sujay Ghosh</dc:creator><description>&lt;p&gt;Hi Kathy ,&lt;/p&gt;
&lt;p&gt;Nice compilation .&lt;/p&gt;
&lt;p&gt;Can you please provide an example with IFormatProvider .&lt;/p&gt;
&lt;p&gt;I am trying to show up the string in the InstalledCultureUi , but I dont see the string that way,.&lt;/p&gt;
&lt;p&gt;For example :&lt;/p&gt;
&lt;p&gt;US - English : 12.34&lt;/p&gt;
&lt;p&gt;Norway - 12,34&lt;/p&gt;
&lt;p&gt;Thanks ,&lt;/p&gt;
&lt;p&gt;Sujay&lt;/p&gt;</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#8644718</link><pubDate>Tue, 24 Jun 2008 04:25:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8644718</guid><dc:creator>Hal Rottenberg</dc:creator><description>&lt;p&gt;Wow, this is a very actively commented post. &amp;nbsp;:) &amp;nbsp;I just wanted to add my kudos. &amp;nbsp;Your post is very well written. &amp;nbsp;Unfortunately, I had to go through several others before finding yours! &amp;nbsp;This topic is getting play for a whole new audience with the advent of PowerShell. &amp;nbsp;Sysadmins like me aren't as familiar with MSDN as you devs, so a summary article like this one is definitely valuable.&lt;/p&gt;
&lt;p&gt;-hal&lt;/p&gt;
&lt;p&gt;Co-Host, PowerScripting Podcast (&lt;a rel="nofollow" target="_new" href="http://powerscripting.net"&gt;http://powerscripting.net&lt;/a&gt;)&lt;/p&gt;</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#8652622</link><pubDate>Wed, 25 Jun 2008 20:59:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8652622</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;I would have never found this even with my familiarity using MSDN. &amp;nbsp;I do a lot of work translating custom classes and XML to fixed length formats and this is by far the best tips I've read. &amp;nbsp;Thanks!&lt;/p&gt;
&lt;p&gt;ps you know your post rocks because 2 years later people are still commenting on it!&lt;/p&gt;</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#8685668</link><pubDate>Fri, 04 Jul 2008 00:23:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8685668</guid><dc:creator>John</dc:creator><description>&lt;p&gt;Very informative post, unfortunately, I'm still looking for a solution to my problem... why oh why does it auto multiply %s by 100? &amp;nbsp;Such a pain. &amp;nbsp;&lt;/p&gt;</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#8762583</link><pubDate>Tue, 22 Jul 2008 00:00:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8762583</guid><dc:creator>Mauricio Sougarret</dc:creator><description>&lt;p&gt;Excellent!!!!, Very informative... Why they don&amp;#180;t use something similar to your explanation on MSDN is a mystery to me!!!&lt;/p&gt;</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#8899735</link><pubDate>Wed, 27 Aug 2008 15:23:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8899735</guid><dc:creator>Dermanyon</dc:creator><description>&lt;p&gt;Thank you very much. Thats examples help me too much.&lt;/p&gt;</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#8922350</link><pubDate>Wed, 03 Sep 2008 20:29:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8922350</guid><dc:creator>Joyce</dc:creator><description>&lt;p&gt;I am trying to format the SSN, does this function work for that? &amp;nbsp;I am trying to insert dashes (-)&lt;/p&gt;</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#9102417</link><pubDate>Sun, 16 Nov 2008 03:54:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9102417</guid><dc:creator>John</dc:creator><description>&lt;p&gt;Absolutely brilliant.!!!&lt;/p&gt;
&lt;p&gt;I really loathe trying to locate useful information on MSDN, and when it is found, a big percentage of the examples are only useful if you already know the subject and just want a represher.&lt;/p&gt;
&lt;p&gt;I only go there if I can't find it on google, especially with the changes which basically direct us to sites which are more easily found on google.&lt;/p&gt;
&lt;p&gt;Keep up the good work, thanks.!!&lt;/p&gt;</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#9299016</link><pubDate>Thu, 08 Jan 2009 20:04:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9299016</guid><dc:creator>Sid</dc:creator><description>&lt;p&gt;This is way better than MSDN. Thank you for a good post. Saved me time and is written to the point.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Sid&lt;/p&gt;</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#9396508</link><pubDate>Wed, 04 Feb 2009 22:42:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9396508</guid><dc:creator>SomeGuy</dc:creator><description>&lt;p&gt;I concur that this info was and still is wicked hard to locate on MSDN. Who writes the stuff on MSDN anyhow? Are the people who write it actually forced to eat their own dog food and use it once in awhile? Do they know how labyrinthian it is? I'm going to go out on a limb and guess that they are not developers and they have never had to actually search through/use their own documentation. If they are developers, I apologize and sell my MSFT stock.&lt;/p&gt;</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#9517633</link><pubDate>Mon, 30 Mar 2009 02:20:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9517633</guid><dc:creator>Patrick</dc:creator><description>&lt;p&gt;Great Reference!!!&lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#9531329</link><pubDate>Sat, 04 Apr 2009 12:56:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9531329</guid><dc:creator>Geoff</dc:creator><description>&lt;p&gt;Again you have saved me the torment of wading through MSDN...&lt;/p&gt;
&lt;p&gt;Thank you ever so much for a marvelous post!&lt;/p&gt;</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#9835290</link><pubDate>Thu, 16 Jul 2009 11:23:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9835290</guid><dc:creator>amirrez4</dc:creator><description>&lt;p&gt;thanks !! that helped me alot...&lt;/p&gt;</description></item><item><title>re: .NET Format String 101</title><link>http://blogs.msdn.com/kathykam/archive/2006/03/29/net-format-string-101-C_2300_-strings.aspx#9896505</link><pubDate>Thu, 17 Sep 2009 23:57:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9896505</guid><dc:creator>DrDad</dc:creator><description>&lt;p&gt;I have never found documentation on how to insert a literal curly bracket into a format string. It's done by doubling, a la:&lt;/p&gt;
&lt;p&gt;Console.WriteLine(&amp;quot;{{stuff and junk}} {0}&amp;quot;, &amp;quot;hah&amp;quot;);&lt;/p&gt;
&lt;p&gt;produces&lt;/p&gt;
&lt;p&gt;{stuff and junk} hah&lt;/p&gt;
&lt;p&gt;And I add my voice to those who complain that MSDN documentation is really annoying&lt;/p&gt;</description></item></channel></rss>