From regular DataView, slice ? #1093
-
I know this is is doable in js but from a table query I would like to be able to do something like TABLE slice(split(file.folder,"/"), 2) AS Folder So having "a/b/c/d" it would output "c/d" slice doesn't exist, is there a way to achieve this somehow? Somehow doing a split(file.folder,"/")[1] works but I need the rest of the array 😁 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
I feel like this was temporarily added and reverted. I'll have to check when I can. |
Beta Was this translation helpful? Give feedback.
-
It was added to Dataview arrays, but not to DataviewQL; I will add it in the next release, mimicing JS behavior. |
Beta Was this translation helpful? Give feedback.
-
@blacksmithgu : 👋 |
Beta Was this translation helpful? Give feedback.
It was added to Dataview arrays, but not to DataviewQL; I will add it in the next release, mimicing JS behavior.