Method 2. (defn remove-last [str] (.substring (java.lang.String. str) 0 (- (count str) 1)) ) (remove-last "hello"). Clojure. Clojure Fundamentals ...
確定! 回上一頁