From: Clint Pidlubny Date: 2006-04-05T07:26:24+09:00 Subject: compare to strings Hello, What is the best approach to searching a string for another string? For instance, I have: url1 = 'http://www.url.com' url2 = 'http://www.url.com/page' If part of url1 is in url2, like above, I'd like to declare it a match. I'm sure this happens using a regular expression, but my experience is limited with them. The other problem is that I'm not going to be looking for just one url1, but I have an entire database table full of those to compare to an entire database table of url2. Any thoughts on approaching this problem are appreciated. Thanks Clint