in reply to Re: If there a way to find the location of the first difference between two strings?
in thread If there a way to find the location of the first difference between two strings?

Small fix:
$t =~ /[^\0]/ && say $-[0];
  • Comment on Re^2: If there a way to find the location of the first difference between two strings?
  • Download Code