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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / cut one line two multi...
Power Automate
Unanswered

cut one line two multiple lines (separator is comma)

(0) ShareShare
ReportReport
Posted on by 834

hi,

i have a string like: 20201103,20201106,20201120

I need to get it something close to a date format and display below each other, for example:

 

2020-11-03

2020-11-06

2020-11-20

 

i tried with split function or some other tricks but wont work... any suggestions?

Categories:
I have the same question (0)
  • crowdjs Profile Picture
    133 on at
    1. Use Split to separate the dates stored as strings.
    2. then use substrings to get the year-month-date.
    3. Then end by using concat.
    split(variables('text'),',')
    
    substring(outputs('Compose_3'),0,4)
    substring(outputs('Compose_3'), 4, 2)
    substring(outputs('Compose_3'), 6, 2)
    concat(outputs('Substring_to_find_year'),'-',outputs('Substring_to_find_month'),'-',outputs('substring_to_find_day'))

    flow1.pngflow2.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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard