34,333
edits
Changes
→Repeating Ruby Strings
== Repeating Ruby Strings ==
A string may be multiplied using the * method (not something I have ever needed to do myself, but the capability is there is if you need it):
<pre>
=> "Is that an echo? Is that an echo? Is that an echo? "
</pre>
== Inserting Text Into a Ruby String ==