Forum Discussion
Anonymous
7 years agoNot applicable
Exact test search in string by using CONTAINSSTRING
HI We have a switch to map X = SWITCH(TRUE(), CONTAINSSTRING(Fact_DeliveryReport[Delivery Label],"_FR"),"FR", we only need exact match We see _FRE is also maped to FR we only wanted _F...
- Anonymous7 years ago
Anonymous - You could try this:
X = SWITCH(TRUE(), RIGHT(Fact_DeliveryReport[Delivery Label],3 )="_FR"),"FR", ...
Cheers!Nathan
Mariusz
Community Champion
7 years agoHi Anonymous
Can you give an example of FR without FRE, is it the last 2 characters or is it like _FR_ ?
Many Thanks
Mariusz