in reply to spaces wont be displayed

It looks like you are printing to a HTML page - that will eat all whitespace.

To preserve space in HTML, use " " for each space.

UPDATE:Ack ! The PerMonks web server ate up my Ampersand-n-b-s-p-semicolon that was supposed to show within quotes. Here is what that line was supposed to look like:

To preserve space in HTML, use " " for each space.

Offense, like beauty, is in the eye of the beholder, and a fantasy.
By guaranteeing freedom of expression, the First Amendment also guarntees offense.

Replies are listed 'Best First'.
Re: Re: spaces wont be displayed
by exussum0 (Vicar) on May 24, 2004 at 22:49 UTC
    A reply falls below the community's threshold of quality. You may see it by logging in.
Re: Re: spaces wont be displayed
by HollyKing (Pilgrim) on May 24, 2004 at 23:09 UTC

    You could also use <pre>. Browsers aren't required to preserve whitespace but I haven't found one that doesn't.

    Owl looked at him, and wondered whether to push him off the tree; but, feeling that he could always do it afterwards, he tried once more to find out what they were talking about.