Thanks for the reply. I was able to get what I needed thanks to your advice but I used a dirtier method initially.
{author:contains({title}, true, false)}
With some perseverence I got to what you intended (I think):
{:'strcmp("{author}", "{title}", 'false', 'true', 'false')'}
This worked really well but tripped up if there were any " in the title - any way around this? not that it really matters - just curious.
Many thanks for your valuable guidance - didn't even know about templates - glad I do now!!
Cheers,
Rob.
|