cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

split a string at the first number

I'm trying to split a string in Flows at the first sign of any number.

 

I have some text formatted: "TEXT1234" for a list of items and I want to be able to split this string when the first of any number appears as the numbers can range from 0000 to 9999.

 

Usuaully I would have used a regular expression to solve this but I'm not sure how this works in powerapps or if it's even supported.

 

Any advice appreciated, thanks in advance.

1 ACCEPTED SOLUTION

Accepted Solutions
Anonymous
Not applicable

hi @v-yamao-msft,

 

Unfortunately I'm performing some of the calculations in Flows because I have to use Microsoft Flows for a large majority of my application,

 

While I'm slowly working on ways around using Flows for this particular function, I posted the exact question in another part of the forums but I wanted to know whether it was possible in Flows,

 

The answer to this question is here: https://powerusers.microsoft.com/t5/Expressions-and-Formulas/splitting-strings-at-any-number/m-p/146..., And my solution is to perform some of the calculations in one Flow, return it to the powerapp to perform the necessary function with IsMatch using regular expressions and send that data to a new Flow.

 

While rather 'clunky', the whole execution from start to finish doesn't actually take too long so this worked great, thank you for your help.

View solution in original post

4 REPLIES 4
Community Support
Community Support

Hi @Anonymous,

 

Are you working with PowerApps? There is a doc on Split function in PowerApps, please check it at here:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-split

 

I would suggest you post the PowerApps related issues on PowerApps Forum so that you might get the most qualified answers from there.

 

 

Best regards,

Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

hi @v-yamao-msft,

 

Unfortunately I'm performing some of the calculations in Flows because I have to use Microsoft Flows for a large majority of my application,

 

While I'm slowly working on ways around using Flows for this particular function, I posted the exact question in another part of the forums but I wanted to know whether it was possible in Flows,

 

The answer to this question is here: https://powerusers.microsoft.com/t5/Expressions-and-Formulas/splitting-strings-at-any-number/m-p/146..., And my solution is to perform some of the calculations in one Flow, return it to the powerapp to perform the necessary function with IsMatch using regular expressions and send that data to a new Flow.

 

While rather 'clunky', the whole execution from start to finish doesn't actually take too long so this worked great, thank you for your help.

View solution in original post

Frequent Visitor

Link is not working for me.

 

Can someone help with expressions to be used in MS Flow.

Hi @Anonymous, I cannot access the solution. It gives me the following error: 

 

You do not have sufficient privileges for this resource or its parent to perform this action.

Click your browser's Back button to continue.

 

Thanks,

Maarten

Helpful resources

Announcements
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (4,552)