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 / How to get number valu...
Power Automate
Unanswered

How to get number value from a string

(0) ShareShare
ReportReport
Posted on by 4

boso_0-1658990960155.png

 

i want to take the number of each variable value. How to do it ? can anyone help me?

I have the same question (0)
  • Adam-Symplifier Profile Picture
    51 on at

    So if they always start with 2 letters, you could pull a substring out (https://docs.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference#substring), then use the int function to convert to a value (https://docs.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference#int).

     

    If you can show me how you're getting it into power automate I can help you write the formula.

  • boso Profile Picture
    4 on at

    boso_0-1658996448233.png

    this is a simple form of the program i am making. I'm confused about what options I can use to manipulate the text the way I want.

  • ryule Profile Picture
    929 Super User 2024 Season 1 on at

    If it's always going to be 2 letters and then numbers, you could do this

    ryule_0-1659449064784.png

    If the amount of letters could change, you could use the Parse Text action to get the character position of the first digit, and use the "Position" variable for the character position value above

    ryule_1-1659449198325.png

     

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