cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Meneghino
Level 10

Case-insensitive string comparison?

PowerApps is case-sensitive, and this extends to string comparisons, hence

"AAA" = "aaa" -> false

One way to make string comparisons case insensitive (useful when checking email addresses for example) is to use the Lower function, so that

Lower("AAA") = Lower("aaa") -> true

But is there another way?  The problem is that Lower is not (yet!) delegated so that this cannot be used in a filter expression for an external data source.

 

PS I raise this question following this post by @johandeweerdt

3 REPLIES 3
Community Support Team
Community Support Team

Re: Case-insensitive string comparison?

Hi,

 

After some researching and testing around, I think this cannot be achieved so far in PowerApps. 

 

You could post this idea in the PowerApps Ideas forum, so it might be considered for future releases.

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

Regards,

Mona Li

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Re: Case-insensitive string comparison?

You can use the IsMatch function with the matching option IgnoreCaseignorecase.PNG

JRaasumaa
Level 10

Re: Case-insensitive string comparison?


@Anonymous wrote:

You can use the IsMatch function with the matching option IgnoreCaseignorecase.PNG


 

IsMatch doesn't allow comparing two strings to each other, only a string to an expected format 😞

 

It's close but not quite, would be worth putting this in the Ideas Forum for voting.

Helpful resources

Announcements
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (8,611)