web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / [HELP] - GET SPECIFIC ...
Power Apps
Answered

[HELP] - GET SPECIFIC STRING VALUE USING EXPRESSION CONTAINS

(0) ShareShare
ReportReport
Posted on by 195

Hello Everyone,

 

Good day!

 

I would like to seek for your help regarding on how to get value inside array using an expression. I have an array that contains string. Example array Example list values list = ["item bag", "item shoes", "pencil", "paper"]

I have an expression : But below results to false

 

and(contains(variables('testArray'), 'pencil'), contains(variables('testArray'), 'paper'))

 

 

what I want is to result to true.

which means all string with an "item" should be check/included so the result will be true. How to achieve that?

Thanks for your help in advance

Categories:
  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @YamiteKudasai,

    Could you please share a bit more about your need?

    Do you want to return item bag and item shoes?

     

    vqiaqimsft_0-1646972363028.png

    contains(items('Apply_to_each'),'item')

    vqiaqimsft_1-1646972386260.pngvqiaqimsft_2-1646972402584.png

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 271

#3
Mohsin Ali Profile Picture

Mohsin Ali 223

Last 30 days Overall leaderboard