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 Automate
Answered

Split word

(0) ShareShare
ReportReport
Posted on by 10

I want to cut word like 'CCA134009876' to '134009876'.

What should I do?

Thankyou.

Categories:
I have the same question (0)
  • CFernandes Profile Picture
    8,482 Most Valuable Professional on at

    Hey @davepokpong 

     

    The formula would be - 

    split(outputs('Compose'),'1')[1]
     

    CFernandes_0-1653022796071.png

     

     
    This will only work if the number starts with digit '1'. 
     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

     

    P.S. take a look at my blog here and like & subscribe to my YouTube Channel thanks.

  • SimonSmith84 Profile Picture
    112 on at

    Hi @davepokpong

     

    Could you be more specific about the criteria here? 

     

    For this exact solution, CFernandes' solution is perfect, but as he said, it'll only work if the first character is a "1". Just by looking at your question, I can see a few different logical methods that could be applied (which would require different methods).

     

    1. Removing all text from the string, leaving just numbers
    2. Removing the first 3 characters of the string
    3. Remove everything before the first "1" (Cfernandes has answered this one)

    If you can clarify the requirements, you'll get a much more suitable answer 🙂 

  • davepokpong Profile Picture
    10 on at

    Hi, @SimonSmith84 

     

    It's a second choice. I want to 'removing the first 3 characters of the string'.

    What I should do?

     

    Thankyou.

  • Verified answer
    SimonSmith84 Profile Picture
    112 on at

    You can use the 'Compose' feature with an expression inside it, like this:

    SimonSmith84_0-1653033109120.png

    the expression would be written as follows:

    substring(variables('davepokpong'),3,sub(length(variables('davepokpong')),3))
     
    Obviously in your specific case, you'd replace the variable name with whatever your variable is called. If you'd like to understand the functions that are used a bit better, the below articles can help.
     
     
     
    I hope this helps! 
     
     

     

  • davepokpong Profile Picture
    10 on at

    It works!

     

    Thankyou @SimonSmith84 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 523

#2
Valantis Profile Picture

Valantis 318

#3
David_MA Profile Picture

David_MA 235 Super User 2026 Season 1

Last 30 days Overall leaderboard