Capitalize first character of string
strchar— Input whose first character to capitalize
Input whose first letter to capitalize, specified as a character array or string.
capOut— Capitalized first character of character array or string
Capitalized first letter of a character array or string
strInput = 'this character vector needs an initial capital letter.'; capOut = mlreportgen.utils.capitalizeFirstChar(strInput)
capOut 'This character vector needs an initial capital letter.'