Would it make sense to put a few "\n" and "\r" in the middle of the string as well? That way we'll know that elements that come after them are ok.