[racket] string to file

From: Laurent (laurent.orseau at gmail.com)
Date: Mon Apr 22 08:49:46 EDT 2013

Or you can use `display-to-file' (here too look at the keyword arguments):

If you have a list of strings instead of a single string, you can also use

It is the 'inverse' function of `file->lines'.


On Mon, Apr 22, 2013 at 1:51 PM, Jos Koot <jos.koot at gmail.com> wrote:

> **
> You already have the file, isn't it?
> If you want to convert the string to a new file, open it with the
> appropriate #:exists keyword argument and write.
> If you want an input string, use open-input-string.
> Jos
>  ------------------------------
> *From:* users-bounces at racket-lang.org [mailto:
> users-bounces at racket-lang.org] *On Behalf Of *deepak verma
> *Sent:* viernes, 19 de abril de 2013 16:47
> *To:* users
> *Subject:* [racket] string to file
>  if we convert a file into a string using file->string
> how do we get back the file?
> ____________________
>   Racket Users list:
>   http://lists.racket-lang.org/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20130422/4024df9d/attachment.html>

Posted on the users mailing list.