|Syntactic Confectionery Delight|
Finding common substringsby ktsirig (Sexton)
|on Sep 20, 2006 at 22:04 UTC||Need Help??|
ktsirig has asked for the wisdom of the Perl Monks concerning the following question:
Hello fellow monks,
I was wondering if there is a way to do the following.
Say you have 2 strings, like:
You can notice that these 2 strings have PF01389 in common. So, I wanted to knows if there is a way of checking for values inside one string that are equal with values in the other.
I tried using:
but it doesn't work, because it searches for the whole $a or $b and not parts of them.