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 / PA doesn't recognize s...
Power Automate
Answered

PA doesn't recognize spaces

(0) ShareShare
ReportReport
Posted on by

I have a flow that isolates a certain string, and that string contains spaces. I have a compose function to then replace the spaces with no space using expression:

 

 

replace(variables('email'),' ','')

 

 

... the flow thinks it's finished successfully, but the output of that compose still has the spaces.

I've tried a bunch of different things, and at this point I'm thinking that PA doesn't see those spaces as spaces...? 

I'm hoping this is something folks have seen before...? Thanks in advance for any suggestions for fix...

 

UPDATE: Adding screenshots

pa1.pngpa2.pngpa3.pngpa4.png

Categories:
I have the same question (0)
  • SpongYe Profile Picture
    5,909 Super User 2026 Season 1 on at

    Hi @Murphys110 

     

    You have a screenshot of the flow and expression and screenshot of the results? 

  • Murphys110 Profile Picture
    on at

    Thank you SpongYe, I've updated the original post to include screenshots.

  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @Murphys110 

     

    Try this expression -

     

     

    replace(variables('email'),decodeUriComponent('%20'),'')

     

     
    Well your expression is also correct - not sure why it is not working- but just try above and see whether you are getting expected ?
     
    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel
    Blog: Nived Nambiar's Blogs

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

     

  • Verified answer
    Murphys110 Profile Picture
    on at

    Thanks for the suggestion, but unfortunately that didn't work... 

    I did try something simple that ended up working... I reviewed the outputs of a flow run, and copied the 'space' between the characters... pasted that into the expression, and success! Not sure what exactly was going on, but seems to be fixed.

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 252 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard