Hello again everyone, I've added a few new routines to a string library I've been working on. I mentioned it about a month ago, as a proposed change to str- utils.
Original Thread: http://groups.google.com/group/clojure/browse_thread/thread/42152add46b851a0# Github: http://github.com/francoisdevlin/clojure-str-utils-proposal/tree/master Most notable I've created two new functions in this addition, str-take str-drop They have a simple form (str-take 7 "Clojure Is Awesome") = > "Clojure" (str-drop 8 "Clojure Is Awesome") = > "Is Awesome" But the can also take a regex (str-take #"\s+" "Clojure Is Awesome") = > "Clojure" (str-drop #"\s+" "Clojure Is Awesome") = > "Is Awesome" You can check the tests and README.html for more usage. I'm looking for feedback. If anyone else has string functions that I haven't covered, let me know. Thanks, Sean --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---