-
-
Save MNashDev/2be8fa3676ffbc2cc7f8 to your computer and use it in GitHub Desktop.
Function to change mixed cap. strings into first letter capitalised strings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Function PrettyString | |
{ | |
Process {$TextInfo = (Get-Culture).TextInfo;$TextInfo.ToTitleCase($_.ToLower())} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://mikefrobbins.com/2015/09/23/windows-powershell-tfm-book-contest-and-giveaway/