I found a new function! PHP's similar_text().
It takes two strings as arguments and returns an integer representing the number of characters they have in common, very simple...but very useful.
I am using it for a project where I have Joomla articles in a database that need to be updated according to values that are found in XML files. Each article in Joomla's jos_content table has a corresponding XML file on a server somewhere, there is one master XML file that contains a collection of nodes for the collection of XML files that I'm working with, along with tags and attributes that allow me to identify them.
So, how do I match the article title in my jos_content table to the XML file I'm going to use to update it's article's contents?