nationavon
MIS
I need to be able to read the contents of a directory into an array. The elements should only equal files that end in .txt. For instance if the directory contains 1.txt, 2.txt, 3.txt, and 4.htm the array should contain 3 elements. I have been fumbling with the endsWith("txt"
method but haven't had any luck. Thanks in advance!
Nathan
Nathan