Convert a string to a capital case.