mlreportgen.utils.capitalizeFirstChar class

Package: mlreportgen.utils
Superclasses:

Capitalize first character of string

Construction

capOut = capitalizeFirstChar(strchar) capitalizes the first character of the input character array or string.

Input Arguments

expand all

Input whose first letter to capitalize, specified as a character array or string.

Output Arguments

expand all

Capitalized first letter of a character array or string

Examples

collapse all

strInput = 'this character vector needs an initial capital letter.';
capOut = mlreportgen.utils.capitalizeFirstChar(strInput)
capOut
  'This character vector needs an initial capital letter.'

Introduced in R2018b