def _parse_restriction_split(source_object, restriction_split, search_low_dbnum,
                                                               search_high_dbnum):
    """
    Parses a split restriction string and sets some needed variables.
    
    Returns a tuple in the form of: (low dbnum, high dbnum)
    """
    restriction_size = len(restriction_split)
    if restriction_size >= 2:
        try:
            search_low_dbnum = int(restriction_split[1].strip())
        except ValueError:
            source_object.msg("Invalid value for low dbref limit.")
            return False
    if restriction_size >= 3:
        try:
            search_high_dbnum = int(restriction_split[2].strip())
        except ValueError:
            source_object.msg("Invalid value for high dbref limit.")
            return False
        
    return search_low_dbnum, search_high_dbnum