View Single Post
Old 06-28-2024, 07:08 AM   #684
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 ownedbycats View Post
Ah, does a '&' work the same as a strcat in this instance? That's what I was trying but having trouble inserting it into the line.
Yes. It works like strcat(). I think in all instances, but to be sure I would need to check precedence of functions vs operators.

Here it is with strcat().
Code:
if strcat('readinggoal:', format_date(today(), 'yyyy')) in $#admintags  then 'Backlog' else 'Unread' fi
chaley is offline   Reply With Quote