scule
scule copied to clipboard
[titleCase] First word is not in Upper-first casing if it's an article or conjuction
Environment
Reproduction
titleCase('in world')
// actual: in World
// expected: In World
titleCase('and then')
// actual: and Then
// expected: And Then
Describe the bug
For any of the words that are 'title case exceptions', they are not transformed to Upper-First if they're coming first in a string
Additional context
No response
Logs
No response