hi Joel Pearson,

a="hi how are you

what are you doing"

b=hi how are you

what are you doing"

one=a
one=one.delete(' ')
one=one.delete("\n")
puts one
two=b
two=two.delete(' ')
two=two.delete("\n")
puts two

The above code is working perfectly, but while i take "hi how are you 
what are you doing" from SCREEN to a variable one.delete("\n") is not 
working, can you guess where the problem is?

RAJ

-- 
Posted via http://www.ruby-forum.com/.