Can't be done.  CF has no way to deal with Java arrays.  The best you can do
is to use a Java collection like ArrayList and then call the toArray()
method, but that'll only give you an Object[], and you can't use it in CF
for anything.

Cheers,
barneyb

> -----Original Message-----
> From: face mann [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 19, 2004 2:20 PM
> To: CF-Talk
> Subject: String Array with CreateObject();
>
> How can I duplicate:
> String[] myArray = new String[10]; // from java
> with the CFMX CreateObject() method?
>
> I can create a string:
> stopWords =  CreateObject("java", "java.lang.String");  
> stopWords.init("BlaBlaBla");
>
> But cannot create a string array.
> Any Ideas?
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to