View Single Post
Old 10-29-2004, 05:01 AM   #5 (permalink)
Belisarius
Java fanboy
 
Belisarius's Avatar
 
Join Date: Aug 2003
Posts: 1,139
Belisarius is on a distinguished road
You'll want to look at the Javadoc for String. Instead of split, you could use endsWith() to figure out which ones end with .cyt. Also, provided all the .cyt files have the same naming scheme, you could use substring to cut off the first 3 letters.
__________________
GitS
Belisarius is offline   Reply With Quote