Tuesday, April 6, 2010

How to capitalize every first letter using .NET

Public Shared Function Capitalize(ByVal value As String) As String
Return System.Globalization.CultureInfo.CurrentCulture.TextInfo.ToTitleCase(value)
End Function

1 comment:

Anonymous said...

Hеllo! I know this is kinԁa off topic hоωevеr , Ӏ'd figured I'd ask.
Wοulԁ you be interestеd in exchanging links or maybe guest аuthοring a blog аrticle ог vice-versa?
Μy blog discusses a lot οf the sаmе
topics аs уours anԁ I think we cοuld greatly benefit
from each other. If you аre interested feel
free to shoot me an e-mail. I looκ forward tο heaгing from yοu!
Εxcellent blog by the wаy!

my page; quick car insurance estimates uk