cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mgodby
Helper V
Helper V

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

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (61,401)