• Formats a string to title case

    Parameters

    • unformattedText: string

      Text to be formatted

    Returns string

    the formatted string