[Mono-list] ToTitleCase

Miguel de Icaza miguel@ximian.com
Thu, 14 Oct 2004 17:09:15 -0400


Hello,

> HeHi all, I am trying to capitalize the first letter of every word in
> a string.  I would expect  this:
> 
> string test = StringUtils.CorrectName("this is a test");
> Console.WriteLine(test);
> 
> to output: 
> 
> This Is A Test
> 
> but I get: 
> 
> This is a test

Thanks for pointing this out, a fix is on CVS.

Miguel