Ok, I figured it out all on my own. I'm not sure if this is the best way, but it works. Can someone tell me if there is a better or easier way to do it?
Again, all I'm trying to do is to determine what is the extension of the two different files that do exist.
Also, this works fine for two files, but what about 5, or 10, or worse yet 100 files. All this nomatch, matchone, matchboth would quickly become finallymatchall100 if that was what I was going for. That's why I'm trying to see if there is an easier way to do this. Not to mention to help me learn a bit more.
Again, this works for my purposes, I'd just like to see if there's an easier way to accomplish the same job. Hmmm. If you did have more, set something like this up in a function, and call the function 100 times?
Code as follows: