• Converts the first character of string to upper case.

    Parameters

    • Optionalstring: string

      The string to convert.

    Returns string

    Returns the converted string.