Hi,
I would like to generate a hashmap from a string. The key portions of
the string will have some a prefix such as @ to define that they are
a key. So the following string
"@key1 this is a value @another-key and another value @test1 and
other value"
would get converted to.
{ :@key1 "this is a value", :@another-key "and another
value" , :@test1 "and other value"}
What's the best way to do this?
Thanks,
Jimmy
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en