[Users] [openser 1.2] $fn, strange shape.
Daniel-Constantin Mierla
daniel at voice-system.ro
Mon May 7 17:02:16 CEST 2007
Hello,
in 1.2 you have alternative via transformations:
http://openser.org/dokuwiki/doku.php/transformations:1.2.x#s.substr_offset_length
$var(len) = $(fn{s.len})-2;
$avp(i:66) = $(fn{s.substr,1,$var(len)});
Cheers,
Daniel
On 05/07/07 17:50, Bodin Bruno wrote:
> Thank,
> I do this and it seam to work :
>
> $avp(i:66) = $fn;
> avp_subst("$avp(i:66)/$avp(i:66)", "/^\"(.*)\"$/\1/");
>
> thank again
> bruno.
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
More information about the Users
mailing list