hello, i may be misunderstanding what you want to do, but if not - try something like this: a = ["foo", "bar"] machine = a[0] + ".3ds" puts machine => foo.3ds or... a = ["foo", "bar"] machine = "#{a[0]}.3ds" puts machine => foo.3ds - j -- Posted via http://www.ruby-forum.com/.