Forums / Developer / Sub string / Comment66727
David Santiso
Friday 18 March 2011 2:11:13 pm
Yes, but in my case I'm trying to extract part of a string obtained from an attribute of "text area" datatype.
If I put:
{set-block variable=$attribute} {attribute_view_gui attribute=$var.data_map.description} {/set-block}
...
{$attribute|extract( 0, 10) }
There is no result, but out of position the rest of the template imformation.
If I put a smaller length:
{$attribute|extract( 0, 3) }
Shows strange characters as "> !".