cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Trim leading spaces writting to SharePoint

I have a flow which takes the subject of an outlook message and writes it to a SharePoint record.  However when it writes the data there are leading spaces that are written.  Is there a string function like Ltrim which I can use before I write the data.  If so can you provide an example of the syntax.  The field I'm writing to is Subject.

1 REPLY 1
Highlighted
Super User
Super User

Re: Trim leading spaces writting to SharePoint

Hi @mfriedenberg the expression trim will remove preceeding and proceeding white spaces.

 

E.g.

trim(variables('String with spaces'))




Did my reply help? Please give it a thumbs up.
Did I answer your question? Please mark my post as a solution!
If you liked my response, please consider giving it a thumbs up. THANKS!


Proud to be a Flownaut!





Community Leader: Black Country PowerApps & Flow User Group

Helpful resources

Announcements
firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new 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!

Top Solution Authors
Top Kudoed Authors
Users online (9,749)