Hi, I receive strings like:
and I want to “capitalize” them in this way:
But String#capitalize method just capitalized first letter:
Is there any “fast” method for what I want?
Yes, I could implement it extending String class or my own class <
performance is very important and I’d prefer using a method written in C
(as “String#capitalized”). Does is exist?
Thanks a lot.