Appearance
PascalCase Method
Definition
- Namespace:
JASE.Extensions - Assembly:
JASE.Primitives.dll
string PascalCase(string input)
csharp
string PascalCase(string input)PascalCase conversion with rules: - Non-alphanumerics are separators (skip them) - First letter of each token uppercased - Letter after a digit uppercased - Consecutive uppercase runs collapse to FirstUpper + rest lower, except the last uppercase before a lowercase is treated as the next word's start (e.g., SOMEOther -> SomeOther, CoolSP -> CoolSp, CIRC -> Circ)