• Home
  • About
Blue Orange Green Pink Purple

Still fighting with String.Format?

Posted in code. on Wednesday, September 9th, 2009 by Chris Hulbert
Sep 09

If you're anything like me, you'll still be getting the hang of String.Format ever since sprintf was removed from our toolbag. So, here's a tool to interactively play with a format specifier to see how it formats a value that's been parsed in each of the common types.

And here's the link to the often-hard to find MSDN format specifier references:

Standard numbers
Custom numbers
Standard datetimes
Custom datetimes

Here's the exe:
stringformat-exe

Here's the source:
stringformat-source

Leave a Reply

Chris' Babble

  • About
    Hi, i'm Chris Hulbert, a software guy from Sydney Australia.
  • Categories
    • code
    • Portfolio
    • Uncategorized
  • Recent Articles
    • How to implement DES and Triple DES from scratch
    • How to use Cookies in Struts 2 with ServletRequest and ServletResponse
    • How to use sessions with Struts 2
    • Using Quartz Scheduler in a Java web app (servlet)
    • Javascript date picker that Doesn't Suck!(tm)
    • Using Oracle XE with Hibernate


  • Home
  • About

© Copyright Chris' Babble. All rights reserved.
Designed by FTL Wordpress Themes brought to you by Smashing Magazine

Back to Top