Open stevage opened 6 years ago
Given the language-sensitive nature of this type of transform, would there be an advantage to providing this functionality through an expression, so that it could make use of the work happening in #6270 ?
Wonder if this could/should be backed by https://github.com/mapbox/title-case :thinking:
Ran into this again today, would be very useful
It would be very useful in some cases to be able to transform label values from upper case to title case. It seems this was considered in the original proposal for
text-transform
(#149) but wasn't implemented for some reason.Obviously titlecase/sentence case have some complexities to get right in different languages, but even a naive "uppercase the first letter of every word" would be pretty useful.