str.contains
True when source contains str.
str.contains(source: string, str: string) -> bool
Parameters
sourcestring: The text to look in; na gives false.strstring: The text to look for. na gives false.
Example
isMicro = str.contains(syminfo.ticker, "MES")