Longest common substring: Difference between revisions
m
→{{header|PowerShell}}
Line 1,001:
$continue = ($i -lt $is.Length) -and ($j -lt $js.Length)
}
$p, $size = $i, 0
while ($continue) {
if ($is.Chars($i) -ne $js.Chars($j)) {break}
|