R
Ryan Chan
Hello,
Consider the sample code:
##############
use strict;
my $in = "\U0004";
my $out = chr($in) . "apple";
$out =~ s/[:cntrl:]//gi;
print $out;
##############
I want to remove the the first unicode char (e.g. "\U0004") from the
string, I found the above code does not work as expected, any idea?
Thanks.
Consider the sample code:
##############
use strict;
my $in = "\U0004";
my $out = chr($in) . "apple";
$out =~ s/[:cntrl:]//gi;
print $out;
##############
I want to remove the the first unicode char (e.g. "\U0004") from the
string, I found the above code does not work as expected, any idea?
Thanks.