function | since v0.0-927 | clojure.core/subs | Edit |
(subs s start)
(subs s start end)
Returns the substring of s
beginning at start
inclusive, and ending at end
exclusive.
end
defaults to the length of the string.
Returns the substring of s beginning at start inclusive, and ending at end (defaults to length of string), exclusive.
(defn subs
([s start] ^string (.substring s start))
([s start end] ^string (.substring s start end)))