I\'ve tried a few things already but they don\'t seem to work for some reason.
Basically what I\'m attempting to do is have a user input a value using the \"Read-host\
If the string is
$STR = 'HELLO WORLD'
and you want to remove the empty space between 'HELLO' and 'WORLD'
$STR.replace(' ','')
replace takes the string and replaces white space with empty string (of length 0), in other words the white space is just deleted.
replace