Function camelCaseToTitleCase

  • Formats a camel case style string into a title case.

    Parameters

    • text: string

      Text to transform.

    Returns string