Is it possible to wrap each character with smarty for example with a div?
This is a line im using to display the days from a timestam in php:
{floor($timeTill / 86400)|string_format:"%02d"}
it outputs something like:
50 or 37 or 10 or 07 or ……
Now I want each digit or character to be wrapped:
<div>3</div><div>7</div>
I need a non-javascript solution for this! Thanks.
Kinda dirty solution but should do the job