Sorry Gary been a little busy here. Yes it does work. On Monday, September 13, 2021 at 8:46:01 PM UTC-4 [email protected] wrote:
> Thanks Gary for quick response. I will give that a try. > > On Monday, September 13, 2021 at 8:41:44 PM UTC-4 gjr80 wrote: > >> Simple, just some in-line python code. Something like (untested): >> >> #if 'some_string' in $my_string >> ## 'some_string' is in $my_string, do something >> #pass >> #else >> ## 'some_string' is not in $my_string, do something else >> #pass >> #end if >> >> Gary >> >> On Tuesday, 14 September 2021 at 10:33:59 UTC+10 [email protected] >> wrote: >> >>> Wondering if there is a way using Cheetah to check for a string value in >>> a variable. >> >> -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/a34e3587-3f46-407b-a79b-8cefa81223e1n%40googlegroups.com.
