in reply to Re: Is there any garbage chars in your data?
in thread Is there any garbage chars in your data?
my $string = "abc12defghi\013jkl"; (my $copy = $string) =~ s/([^[:print:]])/sprintf " (0x%02x) ", ord $1/ +ge; print $copy;
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
|
|---|