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 Apps / Removing all spaces in...
Power Apps
Unanswered

Removing all spaces in a text field

(0) ShareShare
ReportReport
Posted on by

Hi Community,

 

I have a text field in which I wish my users to enter a name which would run an Azure Automation to create shared mailboxes.

My wish is for the textbox to have some sort of validation to ensure there are no spaces (and special characters) before, in between or after the desired email address (the server name and domain are already defined so just need the first part of the email to commence the function).

 

I've seen the function 'Trim' which removes spaces before and after however want to ensure there are none in between.

 

Any ideas?

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    153,040 Most Valuable Professional on at

    Hi @Anonymous ,

    If it is just spaces you want to remove, try

    Substitute(YourText," ","")

     

     Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • Community Power Platform Member Profile Picture
    on at

    Awesome, thanks Warren

  • RichRicky Profile Picture
    9 on at

    my problem is similar

    For example;
    input (text): 1 406 502
    I want output(text): 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?

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard