Slice array with dot notation

Is it possible to slice an array using dot notation? For example, you can take the first element of an array with 'array.0'. But what do I need to do if I want the first 3, e.g. 'array.0-2'? Thanks.
Other
2 replies