I am writing a program that that reads a file of .gif images and stores them. It has worked well, until lately, a file called Thumbs.db gets read in, even through Windows explorer can not find it, even with searching hidden files as well. Does anyone know what this file is and how to delete it completely, and keep it from rearing its ugly head?
This got me thinking, people can add in their own images, but they must be transparent .gif files or it will look weird. So I tried to split the file name between the . and compare the extension.
String[] spl = str.split("\\.") returns the entire string. Just using "." because it is a predefined regex expression, so how do I split a string like this?
"Should array indices start at 0 or 1? My compromise of 0.5 was rejected without, I thought, proper consideration."- Stan Kelly-Bootle