Hi! I have stuck my thoughts on this one, maybee someone can help me out?
I have two arrays @array1 = "C:\Program files\directory1\directory2\directory3"; @array2 = "C:\Program files\directory1\dir2\dir3"; What I want to do is, compare the arrays, one char at a time, from the beginning and stop when I find two chars that are different, putting the matching chars in a new scalar. Any suggestions? Greatfull for any help! /Freddy