Skip to content

Instantly share code, notes, and snippets.

@MNashDev

MNashDev/PrettyString.ps1 Secret

Last active Sep 28, 2015
Embed
What would you like to do?
Function to change mixed cap. strings into first letter capitalised strings
Function PrettyString
{
Process {$TextInfo = (Get-Culture).TextInfo;$TextInfo.ToTitleCase($_.ToLower())}
}
@MNashDev

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment