def chunkString(string, length):
    """This function returns a generator, using a generator comprehension.
        The generator returns the string sliced, from 0 + a multiple of the length of the chunks,
        to the length of the chunks + a multiple of the length of the chunks.

    Args:
        string (String): string to be splitted
        length (int): chunk size

    Returns:
        Generator: generator with chunks
    """
    return (string[0+i:length+i] for i in range(0, len(string), length))