Keep the array index of matching string

Endercraft

Moderator (& bug finder :D)
I think this is what you need.
Fix,_parse_and_access.png
Don't forget to set the parse variable to the used data and use the attached macro.
 

Attachments

  • Fix,_parse_and_access.macro
    2.4 KB · Views: 2

ofira85

New member
I think this is what you need.
View attachment 6172
Don't forget to set the parse variable to the used data and use the attached macro.
Appritiate sir, but as I told....the pattern is not always the same pattern.
For an example:

{"20:30 - 08:30":[{"start":"2023-07-29T20:30:00","end":"2023-07-30T08:30:00","category":null,"position":"operator","description":"להגיע בצאת שבת","standbyType":0,"name":"Shahar Profeta","image":null},{"start":"2023-07-29T20:30:00","end":"2023-07-30T08:30:00","category":null,"position":"operator","description":"להגיע בצאת שבת","standbyType":0,"name":"Ohad Hamias","image":null},{"start":"2023-07-29T20:30:00","end":"2023-07-30T08:30:00","category":null,"position":"operator","description":"להגיע בצאת שבת","standbyType":0,"name":"Niran Yadin","image":null}]}

Your solution will not works here...
Again, that's why i need the ability to build a new array and work only on what I want...
 

Endercraft

Moderator (& bug finder :D)
It's not always the same entries but it doesn't matter. You can use other variables to select the path. It depends on what you want to get.
 
Top