SheetXL - v1.0.2
    Preparing search index...

    Function camelToPrettyCase

    • Converts a camelCase string to a human-readable format with spaces between words.

      Parameters

      • strInput: string | null | undefined

        The camelCase string to convert. A nullish/empty value returns an empty string.

      Returns string

      The string converted to pretty case, with spaces between words and the first letter capitalized.

      camelToPrettyCase('camelCaseString'); // Returns "Camel Case String"
      camelToPrettyCase('OSVersion'); // Returns "OS Version" — an acronym stays one word