On 2002.12.27, Matthew Huggett <mhuggett / zam.att.ne.jp> wrote: > Hi: > > I want to create a long string containing line breaks so I wrote > a = <<END > a few lines .... > END > > but Ruby can never find the closing END anywhere before EOF. Is there > something I'm missing? In order to indent the terminating word, you need to indicate you want to indent it using "-", like so: a = <<-END a few lines .... END Otherwise, without the "-", you have to write: a = <<-END a few lines .... END Notice the closing "END" against the left margin. -- Dossy -- Dossy Shiobara mail: dossy / panoptic.com Panoptic Computer Network web: http://www.panoptic.com/ "He realized the fastest way to change is to laugh at your own folly -- then you can let go and quickly move on." (p. 70)