Details
-
New Feature
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
None
Description
The current behavior of the INITCAP function is to turn the first character of each word uppercase and remains the other as is.
The desired behavior is to turn the first letter uppercase and the other lowercase. Any character except the alphanumeric ones should be considered as a word separator.
That behavior is based on these database systems:
- [Oracle](https://docs.oracle.com/cd/B19306_01/server.102/b14200/functions065.htm)
- [Postgres](https://w3resource.com/PostgreSQL/initcap-function.php)
- [Redshift](https://docs.aws.amazon.com/redshift/latest/dg/r_INITCAP.html)
- [Splice Machine](https://doc.splicemachine.com/sqlref_builtinfcns_initcap.html)
Attachments
Issue Links
- links to