extracting segments in an array

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

extracting segments in an array

stepharo
Hi

I have an array and I would like to extract a segment of elements and I
did not find

array from: start to: end

Did I miss something obvious?

Stef

Reply | Threaded
Open this post in threaded view
|

Re: extracting segments in an array

stepharo
copyFrom:to:

Stef

Le 19/3/16 11:22, stepharo a écrit :

> Hi
>
> I have an array and I would like to extract a segment of elements and
> I did not find
>
> array from: start to: end
>
> Did I miss something obvious?
>
> Stef
>
>


Reply | Threaded
Open this post in threaded view
|

Re: extracting segments in an array

Damien Pollet-2
Yeah if we redesign the String API it should account for Arrays and probably other kinds of sequences too…

On 19 March 2016 at 11:28, stepharo <[hidden email]> wrote:
copyFrom:to:

Stef

Le 19/3/16 11:22, stepharo a écrit :

Hi

I have an array and I would like to extract a segment of elements and I did not find

array from: start to: end

Did I miss something obvious?

Stef





Reply | Threaded
Open this post in threaded view
|

Re: extracting segments in an array

hernanmd
Hi Damien,

I didn't understood, which kind of sequences?


2016-03-19 7:40 GMT-03:00 Damien Pollet <[hidden email]>:
Yeah if we redesign the String API it should account for Arrays and probably other kinds of sequences too…

On 19 March 2016 at 11:28, stepharo <[hidden email]> wrote:
copyFrom:to:

Stef

Le 19/3/16 11:22, stepharo a écrit :

Hi

I have an array and I would like to extract a segment of elements and I did not find

array from: start to: end

Did I miss something obvious?

Stef






Reply | Threaded
Open this post in threaded view
|

Re: extracting segments in an array

Damien Pollet-2
SequenceableCollection mostly, but possibly streams as well

On 19 March 2016 at 21:21, Hernán Morales Durand <[hidden email]> wrote:
Hi Damien,

I didn't understood, which kind of sequences?


2016-03-19 7:40 GMT-03:00 Damien Pollet <[hidden email]>:
Yeah if we redesign the String API it should account for Arrays and probably other kinds of sequences too…

On 19 March 2016 at 11:28, stepharo <[hidden email]> wrote:
copyFrom:to:

Stef

Le 19/3/16 11:22, stepharo a écrit :

Hi

I have an array and I would like to extract a segment of elements and I did not find

array from: start to: end

Did I miss something obvious?

Stef