Upper Case First Letter in Word
{$city|capitalize}
Input
{assign var="name" value="mugil"}
Output
Mugil
How to Check for Variable in Array
{if in_array($current_item,$selected_array}
How to Find Absolute Value
{$launchDate|abs ne 0}
How to find substring in String
{$launchDate|substr:0:4}
Using Foreach Loop
{assign var="Count" value=1} {foreach from=$arrTestimonials item=foo} . . . . {assign var="Count" value=$Count+1} {/foreach}