Converts the first letter of an input string to uppercase and returns the resulting string while preserving the rest of the text.