On Tue, 18 Apr 2006, Shannon Fang wrote: > Thanks a lot, this works fine. > > BTW, another related question: while I ruby code, I can write a long string > like: (without using heredoc) > > str = "this is very long line 1" + > "this is line 2" > > but if I write a number: > > num = 0x1234132410987094750245..... > > And the number is very long (an RSA key), how can I wrap the line? it seems > that I cannot use a "\" by the end of line... > > Thanks! > Shannon harp:~ > cat a.rb num = %w( 1234132410987094750245 1234132410987094750245 1234132410987094750245 ).join.to_i p num harp:~ > ruby a.rb 123413241098709475024512341324109870947502451234132410987094750245 -a -- be kind whenever possible... it is always possible. - h.h. the 14th dali lama