Add normalize parameter to Str::studly() and Str::pascal() (#60229)
Adds an optional `normalize: true` flag that lowercases all-uppercase word segments before conversion, so acronym-style strings like "CBOR" and "FMLS" produce "Cbor" and "Fmls" instead of being left unchanged. Without the flag the behaviour is identical to today, so this is fully backwards-compatible.
A
Adam Campbell committed
88d7f88ed161caf93f39e9920994ebe79e0d182c
Parent: 4253f5c
Committed by GitHub <noreply@github.com>
on 5/22/2026, 11:34:33 AM