capitalize-region

capitalize-region is an interactive built-in function in `C source code'.


(capitalize-region BEG END)

Convert the region to capitalized form.
Capitalized form means each word's first character is upper case
and the rest of it is lower case.
In programs, give two arguments, the starting and ending
character positions to operate on.