import re


def pretty_string(strng):
    """
    break camelCase string into words
    and turns underscores into spaces
    :param string:
    :return:
    """

    pretty_string_re_1 = re.compile('(.)([A-Z][a-z]+)')
    pretty_string_re_2 = re.compile('([a-z0-9])([A-Z])')

    s1 = pretty_string_re_1.sub(r'\1 \2', strng)
    s2 = pretty_string_re_2.sub(r'\1 \2', s1)
    s3 = s2.replace('_', ' ')

    return s3.title()