array of Strings

From: Tejus (ctsblast_at_rediffmail.com)
Date: 11/25/03


Date: 24 Nov 2003 23:35:10 -0800

hi,

I have a small problem.
I have a Array of Strings.
See code below..
     <snip>
     File f = new File("some directory");
     String[] names = f.list();
     <snip>

How do i find out the number of Strings in the array
name.
String.length() gives me the length of any 1 String and
the total number of Strings

TIA