• Given a string, it returns it with the first letter capitalized.

    Parameters

    • str: string

      String to capitalize.

    Returns string

    String with the first letter capitalized.