Can you write a case formula where the {entityid} ...
# ask-stanley-ai
m
Can you write a case formula where the {entityid} dose not contain ":"
c
AI generated answer (using internal Slack threads):
Based on the conversations provided, it seems you are looking for a formula that checks if the
entityid
does not contain a colon. You can use a
CASE
statement in combination with the
INSTR
function to achieve this. The
INSTR
function returns the position of the first occurrence of a substring in a string, and returns 0 if the substring is not found. Here is a sample formula:
Copy code
CASE WHEN INSTR({entityid}, ':') = 0 THEN 'TRUE' ELSE 'FALSE' END
This formula will return 'TRUE' if the
entityid
does not contain a colon, and 'FALSE' otherwise. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.816124439
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.802757561
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.800275326
Please provide your feedback on this answer.