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

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


Proud to be a Flownaut!





Community Leader: Black Country PowerApps & Flow User Group

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

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

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 Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 293 members 1,869 guests
Please welcome our newest community members: