I appreciate the suggestion, but it does not seem to be working (apart from if I’m doing something wrong. (I do not have any programming experience and I blindly follow examples)
And
Also, I can’t figure out where to add what to get the statement to work in conjunction with the rest of my expression:
“It’s currently {$twcweather.conditions.wxPhraseLong} with a temperature of {$twcweather.conditions.temperature}°C. The expected Minimum and Maximum temperatures for today and tonight are {$twcweather.conditions.temperatureMax24Hour} and {$twcweather.conditions.temperatureMin24Hour}°C. Today it is expected to be {$twcweather.forecast.narrative[0]}. Sunset will be at {Sunset} tonight.”
I tried :
replace({$twcweather.forecast.narrative[0], ‘/(degrees?) C/’, ‘$1 Celsius’})
replace({$twcweather.forecast.narrative[0]}, ‘/(degrees?) C/’, ‘$1 Celsius’)
but none of these statements work if I add them to my Expression. As soon as I add the latter statements within the “…” of my expression, the statement causes the Expression to fail.
Sorry for being a nuisance.