IN fact I want to explod this variable $var5.
And $var5= "/corporate/expert/bianchi_n">BIANCHI n .
I have done it {$var|explode(">")}
And the result is "Array". I have try to do this too:
{set-block variable=$nbdemot}
{$var5|ord}
{/set-block}
<br />{$nbdemot} the result is the same.
My problem is I need the word just after the ">" in order to do test.
{default use_url_translation=false()}
<td class="{$sequence}">
{set-block variable=$exam}
{attribute_view_gui attribute=$node.object.data_map.an_expert}
{/set-block}
{*for example, the content of $exam is 'babar'
if I do this:*}
{$exam}=
{*I can see:
babar
=*}
{* If i do this:*}
{$exam|wash}
{*I can see:
<a href="/corporate/expert/babar">babar</a></br>*}
{*I want just to have the word between <a href=..> and </a><br /> to do test. First I cut with remove the end and I obtain this:
<a href="/corporate/expert/babar">babar
Secondly, I remove <a href=
but I have "/corporate/expert/babar">babar
and I call it $var5
So I have try to do it:
*}
{set-block variable=$nbdemot}
{$var5|expolde('>'}
{/set-block}
<br />{$nbdemot}
{*I can see the word array*}
{/default}