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 / Remove Spaces in Strin...
Power Automate
Unanswered

Remove Spaces in String Text

(1) ShareShare
ReportReport
Posted on by 6

Hi currently I have a field from data verse which stores the account name,  I need spaces to be removed from the account name so i can use it for a URL I'm trying to construct.

 

For example ;

Account name = "Test ABC 123" 

I would need the output to be "TestABC123"

 

Can any one help?

 

 

Categories:
I have the same question (0)
  • Verified answer
    Pstork1 Profile Picture
    68,697 Most Valuable Professional on at

    Have you tried using a Replace which targets a space and replaces it with an empty string?

    replace('Test ABC 123',' ', '')
  • RichRicky Profile Picture
    9 on at

    my problem is similar!!!

    For example;
    input (text): 1 406 502
    I want output: 1406502

     

    My question: In the case of the 'power automate desktop' program, what functions and values do I need to use to get the output result?

  • 123213123 Profile Picture
    on at

    What to do if previous compose step is empty (this scenario can happen sometimes and then the flow says failed when i use the replace function)  please help

  • emi215487 Profile Picture
    2 on at

    Oups, I answered the wrong post, so I deleted it...

  • Pstork1 Profile Picture
    68,697 Most Valuable Professional on at

    You can use the Coalesce function around the Outputs('Compose') to substitute something if the Compose output is null.

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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard