For more information... RTFM!
NAVIGATION
RECENTLY VIEWED
PAGES THAT LINK HERE
ACCOUNT LOGIN

You are not logged in

Powered by Interchange version 5.7.0

null_to_space

Replaces ASCII NUL ("\0") characters with a space (" ").

Also see the space_to_null filter.

Example

$Tag->filter({
    op => 'null_to_space',
    body => "Kevin Walsh",
});

Results in:

Kevin Walsh

Source code

sub {
    my $val = shift;

    $val =~ s/\0+/ /g;
    return $val;
}

Category:  Filters
Last modified by: Kevin Walsh
Modification date: Monday 26 February 2007 at 12:00 PM (EST)
Home  |  Legal nonsense  |  Privacy policy  |  Contact us