On Mar 8, 9:39 am, David Sletten <[email protected]> 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 [email protected]
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