I'm quite new to Racket/LISP, so I hope this isn't breathtakingly obvious. Can someone please tell me the best way to capitalize just the first word in a multiword string. So, given the string "it was a dark and stormy night", I would like to get "It was a dark and stormy night". I see functions for turning everything lower case, everything uppercase or capitalizing each word, but nothing in line with what I hope to do.
> (define it "cat dog") > (string-titlecase it) "Dog Cat" ; So close, but not quite "Dog cat" as I want. Many thanks. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.