[Solved] How to transform a string into a keyword in Common Lisp?

Pedro Delfino Asks: How to transform a string into a keyword in Common Lisp?
I have this list:

Code:
((":name" "postalCode" ":type" "tel")
 (":name" "firstName" ":value" "Pedro " ":type" "text")
 (":name" "lastName" ":value" "Moyses Delfino" ":type" "text")
 (":name" "email" ":value" "p.delfino01@gmail.com" ":type" "text")
 (":name" "password" ":value" "senha-minha" ":type" "password")
 (":name" "confirmPassword" ":value" "senha-minha" ":type" "password")
 (":name" "cpf" ":value" "117.349.446-41" ":type" "tel")
 (":name" "rg" ":value" "MG1727039" ":type" "tel")
 (":name" "dateOfBirth" ":value" "07/05/1993" ":type" "tel")
 (":value" "female" ":type" "checkbox") (":value" "male" ":type" "checkbox")
 (":value" "31" ":type" "tel") (":value" "98765-4332" ":type" "tel")
 (":value" "31" ":type" "tel") (":value" "3456-7890" ":type" "tel")
 (":value" "on" ":type" "checkbox") (":value" "on" ":type" "checkbox")
 (":value" "on" ":type" "checkbox") (":value" "on" ":type" "checkbox")
 (":name" "login" ":type" "text") (":name" "password" ":type" "password")
 (":name" "login" ":type" "text") (":name" "login" ":type" "text")
 (":name" "password" ":type" "password"))

Semantically, there are keywords before strings such as :name and :type. Due to the data parsing before this, they keywords are camouflaged. I would like to convert them to be real keywords. So, the first element in the list would change from:

Code:
(":name" "postalCode" ":type" "tel")

To:

Code:
(:name "postalCode" :type "tel")

I think there are some ways to do this. Which solution would be an elegant way to solve it?

Thanks.

Ten-tools.com may not be responsible for the answers or solutions given to any question asked by the users. All Answers or responses are user generated answers and we do not have proof of its validity or correctness. Please vote for the answer that helped you in order to help others find out which is the most helpful answer. Questions labeled as solved may be solved or may not be solved depending on the type of question and the date posted for some posts may be scheduled to be deleted periodically. Do not hesitate to share your response here to help other visitors like you. Thank you, Ten-tools.