cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Mgodby Resolver I
Resolver I

How to remove parts of a text?

I have a GET request that pulls data from Project Online Tasks. My issue is that it returns the data as JSON.

 

JSON_Format.png

 

In PowerApps I was able to remove the first 9 characters and the last 3 to just get 55. Is there a way to do that in Flow?

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: How to remove parts of a text?

Hi @Mgodby 

 

Yes you can use Parse JSON flow step.

 

compose2.png

 

 
 


Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog

View solution in original post

2 REPLIES 2
Super User
Super User

Re: How to remove parts of a text?

Hi @Mgodby 

 

Yes you can use Parse JSON flow step.

 

compose2.png

 

 
 


Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog

View solution in original post

Community Support
Community Support

Re: How to remove parts of a text?

Hi @Mgodby,

 

Yes, there are substring() function you can use to get the "55".

Annotation 2019-11-04 153525.png

 

Or use the method provided by @abm, after parse JSON, will get "55h" string, then use replace() function to remove "h", for example: replace('55h', 'h', '')

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (7,517)