def left_remove(text, to_remove):
    """ Removes a part of a string, if it starts with it.
        Similar to str.lstrip, see note below on right_remove
    """
    if text.startswith(to_remove):
        return text.replace(to_remove, '', 1)
    else:
        return text