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 / Looking to Add a Space...
Power Automate
Answered

Looking to Add a Space in a string

(0) ShareShare
ReportReport
Posted on by 64

Hello, 

I am looking for an expression to split up a value such as "ABC123" into "ABC 123", where there is a space added between the last character and the first numeric. Any suggestions out there? Thank you in Advance.

Categories:
I have the same question (0)
  • Verified answer
    trice602 Profile Picture
    15,404 Super User 2025 Season 2 on at

    Hi @MCubedMama ,

     

    This should handle all scenarios.  Please mark as a solution if this helps!  Always glad to help! Tom

     

    concat(slice(variables('Example1'), 0, 3), ' ', slice(variables('Example1'), 3))

     

    where 'Example1' is my variable

     

    Also, you can get these expressions built for you directly in the format data by Example tool.

     

    trice602_0-1691718960403.png

     

  • MCubedMama Profile Picture
    64 on at

    Thank you! I wasn't aware of this tool. 

  • trice602 Profile Picture
    15,404 Super User 2025 Season 2 on at

    You will love it!  I have found that while it is still valuable to know how these expressions are built, sometimes you just need the code to keep moving and it is a very helpful tool!  Always glad to help! Tom

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