09 July 2012

Title case using ToTitleCase method

to transform the first letter of a word (or the first letter of every word of a phrase) to title case you can use ToTitleCase method of Get-Culture command:

(Get-Culture).TextInfo |Get-Member


ToTitleCase    Method     string ToTitleCase(string str)

No comments:

Post a Comment