array of Strings
From: Tejus (ctsblast_at_rediffmail.com)
Date: 11/25/03
- Next message: Jonas Kongslund: "Re: array of Strings"
- Previous message: Jonas Kongslund: "Re: Compiling -- Can I Control Where .java and .class Files Are Kept?"
- Next in thread: Jonas Kongslund: "Re: array of Strings"
- Reply: Jonas Kongslund: "Re: array of Strings"
- Reply: hiwa: "Re: array of Strings"
- Reply: DaiIchi: "Re: array of Strings"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Jonas Kongslund: "Re: array of Strings"
- Previous message: Jonas Kongslund: "Re: Compiling -- Can I Control Where .java and .class Files Are Kept?"
- Next in thread: Jonas Kongslund: "Re: array of Strings"
- Reply: Jonas Kongslund: "Re: array of Strings"
- Reply: hiwa: "Re: array of Strings"
- Reply: DaiIchi: "Re: array of Strings"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]