title: "Cut" the string on HTML
body: <p>For my HTML, I use a smarty variable;</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code> &lt;div class="ty-blog__date"&gt;{$subpage.timestamp|date_format:"`$settings.Appearance.date_format`"}&lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>{$subpage.timestamp|date_format:"<code>$settings.Appearance.date_format</code>"} On compilation, the date appears as: Авг 17, 2016
  Where: Авг - month, 17 - date, 2016 - year. However, it is a single string. 
  I want to slice this string into consecutive parts in order to display each part as a separate HTML element.
  An example: </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;span&gt;month&lt;/span&gt;&lt;span&gt;date&lt;/span&gt;&lt;span&gt;year&lt;/span&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>How can I do this?</p>