docs/string-dehumanization.md
Convert human-friendly strings back to PascalCase format.
Dehumanization reverses the humanization process, taking a humanized string and converting it back to PascalCase. This is useful when you need to convert user input or display text back into a format suitable for code identifiers.
"Pascal case input string is turned into sentence".Dehumanize()
// => "PascalCaseInputStringIsTurnedIntoSentence"
"some string".Dehumanize()
// => "SomeString"
"Some String".Dehumanize()
// => "SomeString"
The dehumanization process:
If the input is already in PascalCase (contains no spaces), it is returned unchanged.
"SomeStringAndAnotherString".Dehumanize()
// => "SomeStringAndAnotherString" (unchanged)