I would like to take a pascal string like "CountOfWidgets" and convert it to something more convenient, like "Count of Widgets" in C #. Several adjacent uppercase characters must be left unchanged. What is the most efficient way to do this?
NOTE : Duplicate .NET. How can you split the caps? split the string into an array?
string c # regex
Joshl
source share