Blanc count?

Hello,

why second affectation does not work ?

txt1=<<EEND
Hello
EEND

txt2=<<EEND
World
EEND

==========================

e.rb:7: can’t find string “EEND” anywhere before EOF
e.rb:5: syntax error, unexpected end-of-input, expecting tSTRING_CONTENT
or tSTRING_DBEG or tSTRING_DVAR or tSTRING_END

:slight_smile:

Works for me, after I cleaned the line-break in your line
txt2=<<EEND

Your editor destroyed the file. Else, all is fine.