Permalink
Browse files

Fix issue found by tests

  • Loading branch information...
1 parent ebdb860 commit 3ec5352e7f21bb5b02d0510d0570546febaaebe6 @amalloy amalloy committed Dec 30, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/useful/string.clj
View
@@ -39,4 +39,4 @@
(let [idx (.lastIndexOf s delim)]
(if (neg? idx)
s ;; no match
- (subs s (inc idx))))))
+ (subs s (+ (.length delim) idx))))))

0 comments on commit 3ec5352

Please sign in to comment.