I have a string such as:

"select * from account where acctId = _ACCT-ID_ and acctTyp = _ACCT-TYP_"

I have a map such as:

{:_ACCT-ID_ 9876 :_ACCT-TYP "B"}

I want to write a clojure function that will take the string and map as a
parameter and return me the string with all values from the map substituted.

Output:

select * from account where acctId = 9876 and acctTyp = 'B'

Thanks for your help.

-- 
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