load-string

added
1.0

ns
clojure.core

type
function

(load-string s)

Sequentially read and evaluate the set of forms contained in the
string

                (load-string "(def x 1)")
;; => #'user/x
x
;; => 1