Help for this page

Select Code to Download


  1. or download this
    my $xor = $s1 ^ $s2;
    $xor =~ /[^\0]/g;
    my $prefix_length = pos($xor) - 1;
    
  2. or download this
    index $s1 ^ $s2, "\03"