Python's 'replace' or 'find' functions looks to be not working in Azure function. I am trying below code:
if (entity['name']).find(message) != -1 :
Where entity['name'] value is 'finder Scope Matrix' and message value is 'finder Scope'. So ideally the message string is a part of entity['name'] value. But is always returns false.
It works in the local system.
entity['name'] is text value send from team's outgoing webhook.