Home
Ruby
ActiveRecord
Array
CGI
Class
Collections
Database
Date
Design Patterns
Development
File Directory
GUI
Hash
Language Basics
Method
Network
Number
Rails
Range
Reflection
Statement
String
Threads
Time
Tk
Unit Test
Windows Platform
XML
multiply strings « String « Ruby
Ruby
String
multiply strings
1.
What if you want to print out a line of text three times?
2.
print one word three times, then add or append more text with +
3.
you can multiply strings
4.
You cannot multiply two strings