Function upcaseFirst

  • Converts the first word of the string to start with an uppercase character.

    Parameters

    • words: string

      a space separated string.

    Returns string

    a copy of words that starts with an uppercase character.