The group you are posting to is a
Usenet group . Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
From:
RickA <eranth... @gmail.com>
Date: Thu, 15 May 2008 06:01:12 -0700 (PDT)
Local: Thurs, May 15 2008 9:01 am
Subject: Array Type Question
I have an array of objects where all the objects are strings. What
are some options for converting this to an array of strings? I know
that you cannot simply apply a cast.
Thanks.
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"Cedric Vivier" <cedr... @neonux.com>
Date: Thu, 15 May 2008 15:07:48 +0200
Local: Thurs, May 15 2008 9:07 am
Subject: Re: Array Type Question
Hi, Array.ConvertAll is probably what you want : http://msdn.microsoft.com/en-us/library/exc45z53.aspx
Regards
On Thu, May 15, 2008 at 3:01 PM, RickA <eranth
... @gmail.com> wrote:
> I have an array of objects where all the objects are strings. What > are some options for converting this to an array of strings? I know > that you cannot simply apply a cast.
> Thanks.
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"Rodrigo B. de Oliveira" <rodrigobam... @gmail.com>
Date: Thu, 15 May 2008 10:08:05 -0300
Local: Thurs, May 15 2008 9:08 am
Subject: Re: Array Type Question
On Thu, May 15, 2008 at 10:01 AM, RickA <eranth
... @gmail.com> wrote:
> I have an array of objects where all the objects are strings. What > are some options for converting this to an array of strings? I know > that you cannot simply apply a cast.
strings = array(o as string for o in objectArray)
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
"Rodrigo B. de Oliveira" <rodrigobam... @gmail.com>
Date: Thu, 15 May 2008 10:26:42 -0300
Local: Thurs, May 15 2008 9:26 am
Subject: Re: Array Type Question
yes, Array.ConvertAll most probably has much better time/space behavior than what I proposed before.
You must
Sign in before you can post messages.
You do not have the permission required to post.
From:
Avish <some.av... @gmail.com>
Date: Thu, 15 May 2008 11:11:04 -0700 (PDT)
Local: Thurs, May 15 2008 2:11 pm
Subject: Re: Array Type Question
Note that currently, you'll have to explicitly state the generic
parameters: Array.ConvertAll[of object, string]
On May 15, 4:26 pm, "Rodrigo B. de Oliveira" <rodrigobam... @gmail.com>
wrote:
> yes, Array.ConvertAll most probably has much better time/space
> behavior than what I proposed before.
> On Thu, May 15, 2008 at 10:07 AM, Cedric Vivier <cedr... @neonux.com> wrote:
> > Hi,
> > Array.ConvertAll is probably what you want :
> >http://msdn.microsoft.com/en-us/library/exc45z53.aspx
> > Regards
You must
Sign in before you can post messages.
You do not have the permission required to post.