PowerShell System.Strings should have a .Join method, like .Split - by Stephen Owen

Status : 


Sign in
to vote
ID 833515 Comments
Status Active Workarounds
Type Suggestion Repros 0
Opened 3/13/2014 11:56:36 AM
Access Restriction Public


Hi all,
  Thought it was very bizarre that PowerShell does not currently have a .Join() method available to system.String objects.  The only way to get this functionality is to use [string]::Join('join character', $string) or $string -join 'join character'.  I'm sure this has roots in c# or .Net somewhere, but I find this to be very user unfriendly.   if the functionality exists by another means, I think it should be easily accessible using the same syntax people would expect.  


Sign in to post a comment.