Last active
March 6, 2019 17:37
-
-
Save planetWayne/f4ef3582e362265f5b720579a9d7e0c1 to your computer and use it in GitHub Desktop.
Convert case of string to have capital first letters.
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
(get-culture).TextInfo.ToTitleCase("fred bloggs was ere") | |
<# | |
Result: | |
Fred Bloggs Was Ere | |
#> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment