cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mgodby
Level: Powered On

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!



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!



View solution in original post

Community Support Team
Community Support Team

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
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,407)