If you're reading multiple lines, line-by-line, then a while read
loop is a common way to do this:
VAR="one two
three four"
while IFS='' read -r i ; do
echo "$i"
done <<< "$VAR"
This produces:
one two three four
Note in this example, the while loop is taking input from the $VAR
variable using a bash here-string redirection. But this could just as easily be a redirection from a file or pipe.