strings.glisp 244 B

12345678910
  1. (assert (= "abc" (append "ab" #c)))
  2. (assert (= "abcd" (concat "ab" "cd")))
  3. (assert (= "bc" (slice "abcd" 1 3)))
  4. (assert (= #c (sget "abcd" 2)))
  5. (assert (= 3 (len "abc")))
  6. (assert (string? "asdfsdaf"))
  7. (assert (char? #c))
  8. (assert (symbol? 'a))