title: How dow I stringify an array without spaces between its elements?
body: <pre><code>$readFile = get-content $readInput
  
  #create an empty array to be filled with bank account numbers
  $fNameArray = @()
  
  for($i = 0; $i -lt $readFile.length; $i++){
  
      #assigns a random letter from the list to $letter.
      #$letter = get-random -inputobject ("A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z") -count $readFile.length 
      $letter = $readFile[$i] | foreach-object{get-random -inputobject ("A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z") -count $readFile[$i].length}
  
      $fnameArray += "$letter"
  }
  $fnameArray
  </code></pre>
  
  <p>the code is reading in a file that has a list of names and randomizing the letters for Data Masking. The only problem I am running into is the output is like such:</p>
  
  <pre><code>L R Y E B
  R O M I
  U Q N G R
  H K Y
  M G A W Q
  J G W Y D K T
  X E Q
  J Y P I G
  </code></pre>
  
  <p>It looks like it is output with spaces between the letters. How do I eliminate them?</p>