Lessons Learned

My drop-site for interesting snippets and tips. If it's useful to you as well, great!

Browse by Tags

Tagged Content List
  • Blog Post: PowerShell One-Liner: Strings to Arrays and Back Again

    I'm (just) a old-school Perl hacker and miss their join() and split() functions. Turns out, while PowerShell doesn't have them, .NET does, to a point. PS> $home.split("\") C: Users timid And the other way around. PS> [String]::Join("|", $(gci)) Contacts|Desktop|Documents|Downloads|Favorites...
Page 1 of 1 (1 items)