On Thu, 25 Aug 2005 11:40:03 +0200
"Marco Mescoli" <suppressed> wrote:
> I need to add a "telephone.filter" that from a string pass only digits and
> the char '+'.
CodeDef telephone Filter
CodeDef telephone Routine <<EOR
sub {
my $value = shift;
$value =~ s/[^+0-9]//g;
return $value;
}
EOR
Untested :-)
Bye
Racke
--
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.