So, what the above mentioned file does not include, is an explanation of how .capitalize() works. It does two things: first, it will capitalize the first character, as long as it is a letter. If you try to call the method on something that has a blank space or a number or any non-letter character as the first character, it will not work. Second, it will convert all other letters to lowercase.
So, what the above mentioned file does not include, is an explanation of how .capitalize() works. It does two things: first, it will capitalize the first character, as long as it is a letter. If you try to call the method on something that has a blank space or a number or any non-letter character as the first character, it will not work. Second, it will convert all other letters to lowercase.