ClojureDocs

Nav

Namespaces

subs

clojure.core

Available since 1.0 (source)
  • (subs s start)
  • (subs s start end)
Returns the substring of s beginning at start inclusive, and ending
at end (defaults to length of string), exclusive.