From: Kareem Adams Date: 2012-07-09T04:18:03+09:00 Subject: How to Print on a single line Hi there, How do I get the below script to print the 2nd part on a single line? print 'Hello there, and what\'s your name? ' name = gets puts 'Your name is ' + name + '? What a lovely name!' Please see below, this is how it prints: Hello there, and what's your name? Kareem Your name is Kareem ? What a lovely name! How do I get it to print like this: Hello there, and what's your name? Kareem Your name is Kareem? What a lovely name! -- Posted via http://www.ruby-forum.com/.