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 Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (3,877)