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/de3c2491-6d7c-4308-8dd6-8e5ba0a3d60cn%40googlegroups.com.

Reply via email to