SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    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