Hello!
Recently, I have migrated my entire project to a JSON data structure and I am having problems figuring out how to remove values from it without knowing the index.
The array looks like this (when full), but is also dynamic (it can be less of them)
"Gacha": [29,30,31,32,33,34,35,36,37,38,39,40],
Could be like this at some point, or even empty.
"Gacha": [29,30,31,32,37,38],
What I need is to check if values from 29 to 34 exist and if they do, delete them.
Same for range from 36 to 40.
The parameters for JSON to remove point to index, so I'm not sure how to get the index of the values...
Thank you for your help!