def make_name_from_str(string, max_size=100):
    """ Return a name that is capitalized and without spaces """
    return ''.join(
        '%s%s' % (w[0].upper(), w[1:])
        for w in string.split()
    )[:max_size]