cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
garethaw
Helper III
Helper III

Removing spaces from SharePoint list

Hi,

 

I have built a flow to export SharePoint list to csv, I would like to remove the spaces within the property name values.

 

The function needs to convert 19 Longworth Road to 19LongworthRoad.

 

Please can you assist? Here is my flow: 

 

powerautomate.png

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @garethaw 

 

Not quite right. Couple of ways you could do this.

 

image.png

 

Here under the mapping you could try the expression OR under the apply to each loop use the item() expression for each value.



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 blog
Power Automate Video Tutorials

View solution in original post

8 REPLIES 8
abm
Super User
Super User

Hi @garethaw 

 

Use the expression replace(variables('yourvariablename'),' ','')

 

Thanks



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 blog
Power Automate Video Tutorials

Where do I put the expression in my flow?

Hi @garethaw 

 

Please see below

 

image.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 blog
Power Automate Video Tutorials

My input is not a variable it's an array value of PropertyID?

 

Hi @garethaw 

 

If its an array you may need an Apply to each action step to iterate the values. Inside the loop you can use the expression which I shown earlier.

 

Thanks



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 blog
Power Automate Video Tutorials

garethaw_0-1645610720683.png

don't understand?

Hi @garethaw 

 

Not quite right. Couple of ways you could do this.

 

image.png

 

Here under the mapping you could try the expression OR under the apply to each loop use the item() expression for each value.



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 blog
Power Automate Video Tutorials

Thank you very much,

 

This Worked:

 

garethaw_0-1645612711329.png

 

 
 
 
 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (2,492)