>
Home
>
Documentation
>
Latest documentation
>
Filters
>
null_to_comma
NAVIGATION
Home
Documentation
Downloads
Mail lists and IRC
External websites
Suggestions and contributions
User location map
PAGES THAT LINK HERE
accessories
ACCOUNT LOGIN
You are not logged in
Log in
Create an account
Password reminder
null_to_comma
Replaces ASCII NUL ("
\0
") characters with a comma ("
,
").
Example
$
Tag
-
>
filter
(
{
op
=
>
'null_to_comma'
,
body
=
>
"Kevin\0Walsh"
,
}
)
;
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: Thursday 15 February 2007 at 10:08 PM (EST)
Home
|
Legal nonsense
|
Privacy policy
|
Contact us
Copyright © 2001-2012
Cursor Software Limited
. All Rights Reserved.