Function - $weather.hourly.hourly_forecast.wx
returns a string array of the hourly weather conditions for the next 36 hours. I would like to see if “Snow” is in that string, but only for the next 12 hours… not 36.
Is there a way to return a subarray of only values 0-11? Or am I going to have to use 12 statements and reference each member of the array?
if `$weather.hourly.hourly_forecast.wx[0]
or
if $weather.hourly.hourly_forecast.wx[1]
…etc?
Thank you