Slice array with dot notation
Options
![SB](https://us.v-cdn.net/6037124/user_avatars/2138481.jpg)
SB
Member ✭
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.
Comments
-
there is a slice filter you can use for that. It isn't part of dot notation, but its very easy to do. Just click ADD FILTER and pick slice.
-
Thanks, that works. I asked the question because I tried using the paging to limit the result, but it wasn't working right. It might have been because I had to refresh the page, because the paging works fine now (after opening it in a new window.
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback