JamX wrote: ↑February 29th, 2020, 11:40 am
Somehow the Substitute="(?iU)^.*(\d+) .*$":"\1" is not working but it work in the forecasting code. there I use the same Substitute
It is working well. If I remove the RegExpSubstitute and the Substitute options from the [@CurrentWindKMH] measure, I get the current, not substituted value returned by the measure. Right now this is 2 MAR. Adding back the previously removed options, I get 2. Perfect, because the Substitute option eliminates the string, keeping only the number, in this case 2.
Not sure how did you get the posted value:
JamX wrote: ↑February 29th, 2020, 11:40 am
@CurrentWindKMH -> 2 = NOK should be 32 since string 16 is SSW 32 km/h