chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] Appending a newline to a string


From: Joe Python
Subject: [Chicken-users] Appending a newline to a string
Date: Thu, 21 Oct 2010 11:11:08 -0400

How to append a newline to a string?
I wish to do that in memory before I start writing to a file.
The string function seems to stringify the newline control character as follows.

------------< snip >---------------------------

(apply string '(#\a #\b #\newline)) => "ab\n"

------------< snip >------------------------------

I come from the 'imperative' world. Sorry for the newbie question.
Note this is in windows.
- Joe

reply via email to

[Prev in Thread] Current Thread [Next in Thread]