To convert all the first character of each word from the string assigned to the variable $AuthorDetails to capital letters. code example
Example: python capitalize first letter of string without changing the rest
string[0].upper() + string[1:]
string[0].upper() + string[1:]