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

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 II
Advocate II

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,304)