Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix issue found by tests

  • Loading branch information...
commit 3ec5352e7f21bb5b02d0510d0570546febaaebe6 1 parent ebdb860
Alan Malloy authored December 29, 2011

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  src/useful/string.clj
2  src/useful/string.clj
@@ -39,4 +39,4 @@
39 39
     (let [idx (.lastIndexOf s delim)]
40 40
       (if (neg? idx)
41 41
         s ;; no match
42  
-        (subs s (inc idx))))))
  42
+        (subs s (+ (.length delim) idx))))))

0 notes on commit 3ec5352

Please sign in to comment.
Something went wrong with that request. Please try again.