S
shawn bright
lo there all,
i have found how i can put a variable inside a string without the #{} stuff
using %s and so on. But i don't know how to do more than one.
for example
x = 5
y = 10
puts "i have %s foo and %s bar" % don't know what goes here
i know, quite a beginner question, would appreciate any help
thanks
sk
i have found how i can put a variable inside a string without the #{} stuff
using %s and so on. But i don't know how to do more than one.
for example
x = 5
y = 10
puts "i have %s foo and %s bar" % don't know what goes here
i know, quite a beginner question, would appreciate any help
thanks
sk