The STRCOMPRESS function returns a copy of String with all whitespace (blanks and tabs) compressed to a single space or completely removed.
Create a string variable S by entering:
S = 'This is a string with spaces in it.'
Now print S with all of the whitespace removed by entering: