toPascalCase

Converts a string to PascalCase. Like toCamelCase but capitalizes the first segment too.