I'm reading in a list of filenames from our database, and any filename that contains a doesn't contain a guid is considered to be a file that was included as part of a template. The list of files can contain files where some of them have a guid (part of template) and others don't have a guid (not from template). How can I discriminate between the files that have a guid from those that do not have a guid?
Here's a example:
List<string> spotFiles = DAL.HtmlSpot.GetSpotMedia(); //Returns {"manifest.xml", "attributes-97c23e02-e216-431b-9b6b-c5852962e92d.png"}
foreach(string file in spotFiles)
{
//If file contains a guid as a substring
//Handle template file
//Else
//Handle non-template file
}