you could use format or cl-format?

http://clojure.github.com/clojure/clojure.core-api.html#clojure.core/format

http://clojure.github.com/clojure-contrib/pprint-api.html#clojure.contrib.pprint/cl-format

On Sat, Nov 20, 2010 at 5:00 PM, HiHeelHottie <hiheelhot...@gmail.com> wrote:
>
> I think ruby has nice string interpolation.  You can put the following
> in a textfield that a user can modify
>
> This is a #{adjective} string.
>
> Then, you can take that string, put it in quotes and have ruby
> evaluate it as a string.  What is the clojure way of doing something
> similar.  Presenting something like
>
> "This is a " adjective " string"
>
> and then wrapping that in (str ) before evaluating it in clojure seems
> less attractive.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with your 
> first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to