Daetrin added a post in a topic: Wildcard in template conditional
I'm wondering if there is a way "if test" and search for a string within a variable. Or more to my point test if it ends in a particular string.
I want to do something like:
<if test="$author['member_title']" =~ /png$/ >
or maybe like so:
<if test="$author['member_title']" == '*png' >
Or do I need to use PHP or this instead?
I couldn't find any documentation on the types of conditionals anywhere. If such a thing exists please point me in the right direction.