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
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (4,179)