阅读背景:

将Pascal-case字符串拆分为逻辑单词集[重复]

来源:互联网 

I would like to take a pascal-cased string like "CountOfWidgets" and convert it into something more user-friendly like "Count of Widgets" in C#. Multiple adjacent uppercase characters should be left intact. What is the most efficient way to do this?I would like to take a pascal-cased string like




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: