[ic] Filter out hyphens - retain white space?

Peter Ajamian peter at pajamian.dhs.org
Sat Dec 5 02:22:38 UTC 2009

On 05/12/09 13:27, Music wrote:
> I am wondering if there is a filter or combination of filters that I
> could use to remove hyphens while retaining white spaces.

Just put this in a file in your code/Filter directory:
CodeDef dashes Filter
CodeDef dashes Routine <<EOR
sub {
	my $string = shift;
	$string =~ s/-//g;
        return string;

> If a filter like this is not available I would be able to pay for
> someone to write a custom filter and would be happy to make it available
> to the IC community

Sure, that'll be $200, alternatively a "thank you" will do just fine. :-)


More information about the interchange-users mailing list