I have a list of file names stored as strings in a map along with their full path stored as values. I also have an xml file from a different location that I have read into a
string. These xml files will contain different references to different files. Here is what I am trying to do:
1. Step through the map
2. Take the key, and search my xml string to see if that file name is referenced anywhere in the string.
3. If it is found, I will copy that file into the new location associated with the xml file.
My problem is, I can not seem to figure out how to take the key and search the xml string. I am using the indexOf because that is all I know of at this point. Thanks for any help.