Tuesday, December 03, 2013

ToTitleCase method

The following lets you format a whole string in Title format; for example 'the news today' becomes 'The News Today' when applied. string val = new CultureInfo("en-GB", false).TextInfo.ToTitleCase(val as String);

No comments:

Fixes to common .NET problems, as well as information on .NET features and solutions to common problems that are not language-specific.

Fixes to common .NET problems, as well as information on .NET features and solutions to common problems that are not language-specific.

Z