I have for example such array:
40,42,45,49,50,52,54,55 etc
Via post-query i’m getting from select some value: for example 40-50, then i split this value for two numbers: 40 and 50 (but that’s not the main problem, with split, question is in another).
I need to compare this two values, so that array values must be in [40...50) values. So all what is in this interval i must select for my other calculations…
How to do this? aybe with map, but how?
try this:
This will include 50
use
range = 40...50to exclude 50thanks @gregates
See it running equally on all versions