Quote:
Originally Posted by ownedbycats
Attachment 186677
For the tag browser. I don't have that many book titles starting with numeric characters specifically so I thought to make a single 0-9 instead of 0, 1, 2, 4, 5, 9...
|
I think this does what you want. Two versions
TPM:
Code:
{title_sort:'contains(t=uppercase(re($, '^\W*(\w).*$','\1')), '\d', '0-9', t)'}
GPM:
Code:
program:
t = uppercase(re($title_sort, '^\W*(\w).*$','\1'));
if '\d' in t then '0-9' else t fi