简单类型 / 字符类型

(def text "ABC")

; a string is a sequence of characters, so seq functions work on it
(def char-a (first text))
; char-a is \A
(def char-b (second text))
; char-b is \B
(def char-c (nth text 2))
; char-c is \C

; the Java way is there too
(def char-at (.charAt text 1))
; char-at is \B

(def char-list (apply str (mapcat #(list % \;) text)))
; char-list is "A;B;C;"

(prn char-a char-b char-c char-at)
(prn char-list)
(prn (vec text))