spacify
Parameter Position
Type
Required
Default
Description
1
string
No
one space
This what gets inserted between each character of
the variable.
spacify is a way to insert a space between every character of a variable.
You can optionally pass a different character (or string) to insert.
spacify
assign('articleTitle', 'Something Went Wrong in Jet Crash, Experts Say.');
$smarty->display('index.tpl');
?>
]]>
Where index.tpl is:
This should output: