Python 'Replace' or 'find' functions are not working in Azure functions
Vivek Mishra
11
Reputation points Microsoft Employee
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.
Any help?
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,909 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,930 questions
Sign in to answer