PowerShell Snippet #1 – Trimming The String

Hello!

When building up urls from different parameters in something like TeamCity, or Octopus, it’s simple enough to get double “//” in urls if the parameters are not consistent. So little helper functions are always useful to have imported to manage such things. Below is an example of such a thing!

 

Leave a Reply

Your email address will not be published. Required fields are marked *