(string)
return CAMELCASE_INVALID_CHARS.sub('', string.title())
Convert a word  to its CamelCase version and remove invalid chars

    >>> string_camelcase('lost-pound')
    'LostPound'

    >>> string_camelcase('missing_images')
    'MissingImages'
Convert a word  to its CamelCase version and remove invalid chars
Convert a word to its CamelCase version and remove invalid chars
def string_camelcase(string):
    """ Convert a word  to its CamelCase version and remove invalid chars

    >>> string_camelcase('lost-pound')
    'LostPound'

    >>> string_camelcase('missing_images')
    'MissingImages'

    """
    return CAMELCASE_INVALID_CHARS.sub('', string.title())
def string_camelcase ( string ) : return CAMELCASE_INVALID_CHARS . sub ( '' , string . title ( ) )