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 / Having a Brainfart mom...
Power Automate
Answered

Having a Brainfart moment.........

(0) ShareShare
ReportReport
Posted on by

Hi All,

Having an off day.

Trying to print out the first or second line only, square brackets are not working for some reason, the output gives me the digit 4 in line 1 rather than the whole line at 1.

 

Screenshot 2022-01-17 154418.png

 

 

 

 

 

 

 

 

 

 

 

Screenshot 2022-01-17 154520.png

 

 

 

 

 

Thanks

  • Verified answer
    MichaelAnnis Profile Picture
    5,727 Moderator on at

    It’s because you are in a text value not a list value. 

    split text by ‘New Line’ to get each line into a list value, then you can reference each line by index. 

  • UK_Mike Profile Picture
    on at

    Cheers Mike, God I hate Mondays !!!

    Thanks again 😂

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    I am just glad I wrote this article on Thursday, because I probably wouldn’t have even noticed.  Was just lucky that it was fresh. 

    https://www.linkedin.com/pulse/part-51-text-actions-list-variables-michael-annis/

     

     

  • UK_Mike Profile Picture
    on at

    Talk about timing lol, cheers Mike, nicely written also.

    Its the one major flaw in the docs that they dont include examples.

    Will keep an eye on your Linkedin contributions.

    Ever thought of a Youtube Channel ?  You could stick me down as a +1.

    Cheers pal.

     

     

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    I have thought about it, but that's a whole other ball game.  I get the articles out right now, when I have a little extra time during lunch.  Maybe in the future, but at least the articles will give me a good platform to build videos on if/when I decide to do so.

     

    Thanks for the support.

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 227 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 221 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 132

Last 30 days Overall leaderboard