Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Need a little help in Title formatting (Read 592 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Need a little help in Title formatting

Hello.
I need a simple "if" contruction in title formatting, but to show "else/then" result in case only if tag field contains/not_contains some specific word or symbol.
I tried to do it this way (like it can be done in search: %artist% HAS 'word')
$if(%field% HAS 'word',a,b)
But it ignores "HAS 'word'" part and works the same way as $if(%field%,a,b)

Is it possible to do it some other way?

Re: Need a little help in Title formatting

Reply #1
Try $if($strstr(%field%,word),a,b). HAS belongs to query syntax and can't be used in title format.

 

Re: Need a little help in Title formatting

Reply #2
Thanks, it works.