You can change the delimiter of a for-loop by changing the value of the global variable $IFS. By default this is set to a space.
For example, if you want the delimiter to be a new line, set it like so:
IFS=$'n'