cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DTooley
Advocate III
Advocate III

Setting an array to lower case

Hi,

I need to set all the data in an array to lower case.  Then I can use the Filter Array data operation to filter.  Currently, Filter Array is case sensitive and the data could be upper or lower case.  Thus, filtering by Dog does not return dog and vice versa.  I need both to be returned.

 

Is it possible to set an array to lower case?  If yes, how?

 

Thanks!

Dave

2 REPLIES 2
CNT
Super User
Super User

@DTooley A normal text comparison is not case sensitive as you can see below in my example trying to search for Ice Cream!

CNT_0-1622060023455.png

 

CNT_1-1622060066697.pngCNT_2-1622060098562.png

Could you share your scenario more. 

 

DTooley
Advocate III
Advocate III

Thank you for responding, but the answer is not what I was looking for.  Let me add some more information to add clarity.

 

I am building an array using a querySharePoint action.

DTooley_0-1622645879201.png

Then I filter the array using 'contains' as the operand.  Filtering the array is case sensitive (Dog vs. dog).

 

DTooley_1-1622645910893.png

 

What I would like to do is set the entire array or the field to be filtered (SiteTitle) to lower case before I do the filter.

So, the question is, how to convert the data in the array to lower case?
I hope this helps.

 

 

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (2,891)