def list_to_line(list_, char):
    """Makes a string out of a list of items"""
    # Allows for more customization compared with string.split()
    string = ""
    for item in list_:
        string += str(item) + char
    return string.rstrip(char)