PROPER Case Function

Here's a function that will convert an upper, lower, or mixed-case string to proper case;
Code:
proper=%@pshell[(Get-Culture).TextInfo.ToTitleCase("%$".ToLower())]
Proof;
Code:
e:\utils>echo %@proper[DAILY EPIDEMIOLOGICAL SUMMARY]
Daily Epidemiological Summary

Joe
 
Maybe a @proper["test to convert"] which would handle Mc and other similar prefixes correctly..... McCarthy instead of just Mccarthy....
 
Try %@caps[%@lower[any OLD Text]] in TCC for the @proper described above. No, it won't do the right thing for McCarthy and friends.