def split_list(listcont, limit, glue='\n'):
    """
    Splits a list of items in chunks to be sent in messages
    :param listcont: The item list
    :param limit: The character limit
    :param glue: The string that will join every list item
    :return: A list of strings with the items joined given the glue parameter
    """
    chunks = []
    chunk = []
    for item in listcont:
        if len(glue.join(chunk + [item])) > limit:
            chunks.append(list(chunk))
            chunk = [item]
        else:
            chunk.append(item)

    if len(chunk) > 0:
        chunks.append(chunk)

    return chunks