Sign in to follow this  
  • entries
    191
  • comments
    861
  • views
    116835

FRIDAY

Sign in to follow this  
Mithrandir

81 views

I don't really have anything important to say today.




In continuing with my "If you're doing something and it seems like its too much work, then it's probably already been done before" series, I have a small tale.


Once upon a time my company wanted to Title Case a string. I was tasked with the job since I'm the newbie here. (ugh). Feeling frustrated that System.String has no ToTitleCase() function, I typed in "TitleCase" to MSDN...

ZOMG!

String System.Globalization.TextInfo.ToTitleCase( String );


So, I saved the day. Not only does our application properly Title Case strings, but it now supports multiple cultures as well.


A Hero Is Me.



(give me my minute in the sun, ok? I had a pathetically worthless day.)


Hey look, my calendar is a whale!!!
Sign in to follow this  


2 Comments


Recommended Comments

What the hell sort of deformed whales do you see :/

That's pretty sexy actually. I'd probably just barge ahead and write a function to do it. I shall bare this in mind...

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now