That's what I thought too, but I didn't see it in the
source<https://github.com/clojure/clojure/blob/master/src/clj/clojure/string.clj>.
I also fired up the repl and tried some of the functions from str-utils2,
and they weren't there...

*$ lein repl *
*user=> (require 'clojure.string) *
*nil *
*user=> (clojure.string/contains "Tim" "im")   *
*CompilerException java.lang.RuntimeException: No such var:
clojure.string/contains, compiling:(NO_SOURCE_PATH:6)*
*
*
*user=> (clojure.string/re-sub #"fu" "xx" "fubar")*
*CompilerException java.lang.RuntimeException: No such var:
clojure.string/re-sub, compiling:(NO_SOURCE_PATH:14)*


But 'capitalize' (formerly in 'contrib.string' and 'contrib.str-utils2') is
now in clojure.string:

*user=> (clojure.string/capitalize "fubar") *
*"Fubar" *



It'd be nice to have everything that was in
contrib.{string,str-utils,str-utils2}


Tim Washington
[email protected]
416.843.9060



On Wed, Jun 29, 2011 at 11:28 AM, Meikel Brandmeyer <[email protected]> wrote:

> Hi,
>
> I think they moved to clojure.string.
>
> Sincerely
> Meikel
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to [email protected]
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to