Function pascalise

  • Converts a string of words to remove spaces and capitalise each word including the first (UpperCamelCase or PascalCase). To make the first word start with a lowercase character, use the camelcase function instead.

    Parameters

    • words: string

      an underscore separated string to be converted to pascal case.

    Returns string

    a pascalcase version of words.