View Single Post
Old 04-16-2011, 12:18 AM   #3
rwelbourn
Junior Member
rwelbourn began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Apr 2011
Device: Kindle
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.
rwelbourn is offline   Reply With Quote