On Mar 8, 9:39 am, David Sletten <da...@bosatsu.net> wrote: > Is there a function to capitalize the first letter of a string or a > better way than this idiotic code?
Once again, Apache Commons to the rescue: http://tinyurl.com/d38wwq (StringUtils/capitalize "clojure") ;;=> "Clojure" -Stuart Sierra --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---