You have to do it after you have the List.

List list = quesrtyForList(......)

String[] stingArray = (String[])list.toArray(new String[0]);

I think that should work.  But you had better make sure you have a List of java.lang.String or you will get a runtime ClassCastException

Nathan

On Aug 5, 2005, at 11:20 AM, Mark Bennett wrote:

How do I get an Array of Integers or an Array of Strings instead of a List?


 


Reply via email to