def split_join_text(text, n, prefix, joiner):
    """Splits the text into chunks that are n characters long, then joins them up again."""
    return joiner.join(f"{prefix}{text[i:i+n]}" for i in range(0, len(text), n))