function pascalCase(str) {
    if (isNullOrWhitespace(str)) {
        return str;
    }

    var ccString = str.replace(/[_-]+/g, " ").replace(/\s+/g, ' ').trim();

    return capitalize(ccString).replace(/\s+/g, '');
}
/**
 * Capitalizes all words in a sequence and removes spaces or punctuation
 * @param {!string} str Sequence
 * @returns {string} PascalCased sequence
 * @memberof STD
 */
Capitalizes all words in a sequence and removes spaces or punctuation
@param {!string} str Sequence
@returns {string} PascalCased sequence
@memberof STD
Capitalizes all words in a sequence and removes spaces or punctuation @param { !string } str Sequence @returns { string } PascalCased sequence @memberof STD
function pascalCase(str) {
    if (isNullOrWhitespace(str)) {
        return str;
    }
    var ccString = str.replace(/[_-]+/g, " ").replace(/\s+/g, ' ').trim();
    return capitalize(ccString).replace(/\s+/g, '');
}
function pascalCase ( str ) { if ( isNullOrWhitespace ( str ) ) { return str ; } var ccString = str . replace ( / [_-]+ / g , " " ) . replace ( / \s+ / g , ' ' ) . trim ( ) ; return capitalize ( ccString ) . replace ( / \s+ / g , '' ) ; }
Capitalizes all words in a sequence and removes spaces or punctuation
 @param {!string} str Sequence
 @returns {string} PascalCased sequence
 @memberof STD
Capitalizes all words in a sequence and removes spaces or punctuation @param { !string } str Sequence @returns { string } PascalCased sequence @memberof STD