Here, it is just a example. I have a line:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaa
Now, I want to let LaTeX automatically wrap the line according to the width of the text block/margins.
You are probably looking for something like the seqsplit package.
For lines with spaces the
\seqsplitcommand can of course be used several times.