cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mgodby
Post Patron
Post Patron

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
abm
Super User III
Super User III

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 blogPower Automate Video Tutorials

View solution in original post

2 REPLIES 2
abm
Super User III
Super User III

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 blogPower Automate Video Tutorials

View solution in original post

v-litu-msft
Community Support
Community Support

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
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Users online (23,648)