• Validates sheet name.

    The character count MUST be greater than or equal to 1 and less than or equal to 31. The string MUST NOT contain the any of the following characters:

    • 0x0000
    • 0x0003
    • colon (:)
    • backslash ()
    • asterisk (*)
    • question mark (?)
    • forward slash (/)
    • opening square bracket ([)
    • closing square bracket (])

    The string MUST NOT begin or end with the single quote (') character.

    Parameters

    • sheetName: string

      the name to validate

    Returns string

    Throws

    IllegalArgumentException if validation fails