count_characters
Parameter Position
Type
Required
Default
Description
1
boolean
No
false
This determines whether or not to include
whitespace characters in the count.
This is used to count the number of characters in a variable.
count_characters
assign('articleTitle', 'Cold Wave Linked to Temperatures.');
$smarty->display('index.tpl');
?>
]]>
Where index.tpl is:
This will output: