[ic] Filter question - Is this possible?

Aftermarket Cellular wfiore at aftermarketcellular.com
Fri Nov 5 18:28:55 EST 2004


Quoting Jon:

>You can create your own filter in 
>$VENDROOT/code/Filter/stripfromcolon.filter:
>
>CodeDef before_colon Filter
>CodeDef before_colon Routine <<EOR
>sub {
>	my ($val) = @_;
>	$val =~ s/:.*//;
>	return $val;
>}
>EOR
>
>Then do [filter before_colon]Some text: Some more text[/filter].

Jon,

I am having trouble finding the code/Filter folder. Would I have access to 
this on a shared host?

Thank you

Bill


More information about the interchange-users mailing list