Every developer has probably searched for string formatting syntax. It’s just almost impossible to remember all the tiny details and the formatting options.
I’ve collected all the possible formats, into a handy silverlight utility, so you can come back and look for your format when needed. Please note that currently, the tool display only .Net formatting options. And provides you with a code snippet that you can copy paste into your application.
If you liked/disliked this tool, feel free to give feedback in comments and subscribe to my feed.
If silverlight isn’t installed on your browser, click on the image below to install.







16 users responded in this post
Quite a handy tool,
I’ve bookmarked this page for later use.
Great and neat tool !!!
(plus - i liked your nick)
Awesome! This is exactly the type of thing I don’t need cluttering up your brain if I can just jump into this tool instead. Great work.
excellent, thanks
Very nice. Now I can get rid of my String.Format cheat sheet!
“Now I can get rid of my String.Format cheat sheet!”
I created that cheat sheet. Kidding of course, this is a great tool.
If you want the cheat sheet, its available here: http://john-sheehan.com/blog/index.php/net-cheat-sheets/
Nice! Might want to include CultureInfo.CurrentCulture in the language pull down (or maybe I missed it?).
Greate idea
looks good
It helps developers a lot
Thanks
Mike,
That’s an excellent suggestion. When developing this tool I’ve been trying to implement it myself.
The problem was that my languages pull down is binded directly to a list of CultureInfo, and CurrentCulture is displayed as all the other languages.
I might fix it, and update this post.
Very nice assistant for me!! Thanks
FYI, I was browsing on an old PC and noticed that Silverlight wasn’t installed. The message says “To install: 1 click and no restart”. Actually with FireFox, it’s six clicks and you have to restart the browser. Still simple, but not quite as simple as advertised.
Awesome! is this program at another url where it would be better to bookmark it?
Nice tool (even better being Silverlight!), I’ve linked you at an article on formatting at:
http://www.sloppycode.net/articles/formatstrings.aspx
Really nice, can I get the source code?
fugitiveness cocowood cryptogenic phanerocarpae inedibility tonicobalsamic interblend birchwood
The EPOC F.A.Q.
http://www.camdenjames.com
I’ve linked your article on my blog.
http://blog.emanuelebartolesi.com/post/2008/06/String-Format-Online-Utility.aspx
Nice utility!!!
Leave A Reply