Clojure map key with spaces in the key name
clojure, dictionary
Solution
Try (keyword "Unique Product ID")
Problem
I am pretty new to Clojure. I have a map of results from a database and it contains key values such as: ``` {:Unique Product ID "09876" :ProductName "XYZ"} ``` I want to retrieve the values from the map but I am having problems getting the Unique Product ID. ``` ProductID (str ( map-name ":Unique Product ID")) ``` Product Name works fine using: ``` ProductName (str ( map-name :ProductName")) ``` I'm not sure how to handle the space in the Product ID field key. How should I retrieve the value for that key from the map? Thanks