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
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Users online (1,258)