import re


def chunk(s, length):
    """Break string into lines == length.

    Returns a list of lines. Lines do not have newlines. This method
    does not preserve words. Typically used to break up a sequence into
    equal sized chunks for presentation.
    """
    chunks = []
    for x in re.findall("."*length, s):
        chunks.append(x)
    l = len(s)
    if (l % length) > 0:
        chunks.append(s[l - (l % length):])
    return chunks