- or download this
use constant APOSTROPHE => "\xE2\x80\x99" ;
my $string =~ s/APOSTROPHE/'/ ;
- or download this
use constant APOSTROPHE => "\xE2\x80\x99" ;
my $string = "wjzw’xl cowuxze.";
$string =~ s/APOSTROPHE/'/ ;
- or download this
my $pos = index $string, APOSTROPHE;
substr($string, $pos, length APOSTROPHE) = q{'};
- or download this
#!/usr/bin/env perl
...
return $asciis;
}
- or download this
*** BEFORE ***
$string1[abc’def’ghi’jkl]
...
*** AFTER ***
$string1[abc'def'ghi'jkl]
$string2[mno'pqr'stu'vwx]