str.startswith
True when source starts with str.
str.startswith(source: string, str: string) -> bool
Parameters
sourcestring: The text to look at; na gives false.strstring: The text to look for. na gives false.
Example
str.startswith(syminfo.ticker, "ES")