How to make a microflow contains() case insensitive

1
Hi all, In a microflow I am trying to use contains(). See screen print included below. I notice contains() is case sensitive. Is there a way to make it case insensitive? Thank you in advance!  
asked
2 answers
5

try this:

contains(toLowerCase($Customer/CustomerName),toLowerCase($String))

answered
0

I made a mistake because I didn’t quite read your question correctly.
 

case sensitive = isMatch($Customer/CustomerName,'.*'+$String+'.*')

not case-sensitve = isMatch($Customer/CustomerName,'.*(?i)'+$String+'.*')

or convert both strings to lower case would work too.

answered