To convert a string to a char sequence, you can use:

(seq (.toCharArray "abc"))

Clojure strings are Java strings, in case you didn't know.

Wolfgang


On Wed, Feb 17, 2010 at 12:10 PM, metaperl <scheme...@gmail.com> wrote:

> The reference manual example implies that a list of chars is not a
> string:
>
> (let [[a b & c :as str] "asdjhhfdas"]
>  [a b c str])
> ->[\a \s (\d \j \h \h \f \d \a \s) "asdjhhfdas"]
>
>
> So what functions exist for conversion from chars to string and vice
> versa?
>
> Also how should I have been able to use the API docs <http://
> richhickey.github.com/clojure/clojure.core-api.html> to find the
> conversion functions myself?
>
> --
> 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<clojure%2bunsubscr...@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