Are you printing it or writing it into HTML? In html \n is not newline.

On Wednesday, 16 January 2013 21:51:56 UTC-6, Paul Rykiel wrote:
>
> greetings,
>  
> I have a string that I have defined
>  
> string = "line 1" + "\n"
> string += "line 2" + "\n"
>  
> shouldn't my string print as follows:
>  
> line 1
> line 2
>  
> it does not
> what do I seem to be doing incorrectly?
>  
>  
>

-- 



Reply via email to