Powershell - Replace multiple spaces with single spaces


/ Published in: Windows PowerShell
Save to your folder(s)

I needed to clean up strings with an unpredictable number of spaces interspersed throughout. Powershell's Replace method to the rescue.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.