View Single Post
Old 09-19-2014, 02:47 AM   #6
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,449
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by BetterRed View Post
Can someone furnish me with a template that will examine the first character of the first tag and if it is '!' then return the substring of first tag from position 1 to end, otherwise return the first tag. I tried but it didn't work

So !Underpass would return Underpass and Crossover would return Crossover.
Code:
{tags:'re(sublist($, 0, 1, ','), '^!', '')'}
chaley is offline   Reply With Quote