Here is a bit a kludge,
Declare @Header VarChar(500)
Set @Header = ' ' --this is 2 spaces
IF (REPLACE( @Header,' ', '|') = '||') --replaces each space witha pipe delimeter
BEGIN
PRINT 'It is 2 spaces' -- just checking if it works
END
ELSE
PRINT 'Your guess is as good as mine' -- no it is not working