Simon Schuster wrote:
> speaker = ["joe ", "betty "]
> expression = ["said", "replied", "stated"]
> content = ["hello.", "bye."]
>
> 053:0> sentence = speaker[0] + expression[1] + content[0]
> "joe replied: hello."
> but I'd like to get:
> "joe replied, "hello.""

I'd do it like this:
speaker = %w(joe betty)
expression = %w(said replied stated)
content = %w(hello. bye.)
sentence = "#{speaker[0]} #{expression[1]}, #{content[0].inspect}"

If using inspect feels too hackish to you, you could use \"#{content[0]}\" 
instead.


HTH,
Sebastian
-- 
NP: Shape of Despair - Angels of Distress
Jabber: sepp2k / jabber.org
ICQ: 205544826