View Single Post
Old 06-23-2025, 09:56 AM   #847
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,231
Karma: 77935877
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Code:
{title_sort:'contains(t=uppercase(re($, '^\W*(\w).*$','\1')), '\d', '0-9', t)'}
In a column, this has the first letter of a title (0-9 are combined). An accented letter (É) displays separate than the standard one (E). Is there a way to merge them?

EDIT: Got it (not sure if transliterate should come before or after uppercase).
Code:
{title_sort:'contains(t=uppercase(transliterate(re($, '^\W*(\w).*$','\1'))), '\d', '0-9', t)'}

Last edited by ownedbycats; 06-23-2025 at 10:02 AM.
ownedbycats is offline   Reply With Quote