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 Automate / How to prefix each val...
Power Automate
Answered

How to prefix each value in the list

(0) ShareShare
ReportReport
Posted on by 83

Hi,

 

I want to prefix each value in the list.

but I can't find the way.

 

I have prepared the incomplete robin code below. I would be grateful if you could add it  and let me know.

 

/# 【How to prefix each value in the list】
Below is the incomplete robin code.
I want to process "List" to "AfterList".#/
SET List TO ['Tokyo', 'Osaka', 'Okinawa']
LOOP FOREACH CurrentItem IN List
 SET ReplacedList TO $'''\"+\"%CurrentItem%'''
END
SET AfterList TO ['+Tokyo', '+Osaka', '+Okinawa']

 

 

I have the same question (0)
  • Verified answer
    dominono9 Profile Picture
    83 on at

    I was able to solve myself!

     

    SET List TO ['Tokyo', 'Osaka', 'Okinawa']
    LOOP LoopIndex FROM 0 TO List.Count - 1 STEP 1
     SET List[LoopIndex] TO $'''+%List[LoopIndex]%'''
    END

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 167

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard